You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Batched range proofs u64/u128/u256 the MaxCommitments are checked using if statement while creating a proof but not included in proof, which leads dishonest prover to prove a crafted proof which has over or greater than MaxCommitments by a verifier. The verifier needs to ensure the length of bit_lengths is less than MaxCommitments.
Proposed Solution
Add a check to verify bit_lengths in range proof verification.
The text was updated successfully, but these errors were encountered:
Problem
In Batched range proofs u64/u128/u256 the
MaxCommitments
are checked using if statement while creating a proof but not included in proof, which leads dishonest prover to prove a crafted proof which has over or greater thanMaxCommitments
by a verifier. The verifier needs to ensure the length ofbit_lengths
is less thanMaxCommitments
.Proposed Solution
Add a check to verify
bit_lengths
in range proof verification.The text was updated successfully, but these errors were encountered: