...
This commit is contained in:
parent
a63fea7e17
commit
092475d58e
@ -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 {
|
return {
|
||||||
fortify: fortify,
|
fortify: fortify,
|
||||||
proofs: proofs,
|
proofs: proofs,
|
||||||
verifications: verifications,
|
verifications: verifications,
|
||||||
|
rangeProofs: rangeProofs,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user