This commit is contained in:
jude 2023-04-27 16:04:13 +01:00
parent a63fea7e17
commit 092475d58e

View File

@ -578,12 +578,16 @@ export function proveFortify(fortify) {
}
}
// TODO range proof for regions
let rangeProofs = {};
for (let r of regionNames) {
rangeProofs[r] = proveBitLength(Region.getRegion(r).strength.cipherText);
}
return {
fortify: fortify,
proofs: proofs,
verifications: verifications,
rangeProofs: rangeProofs,
};
}