Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #295: rangeproof: add unit test for malleating single-value proofs
3a1c396 rangeproof: add unit test for malleating single-value proofs (Andrew Poelstra) Pull request description: I was a bit confused reading `secp256k1_rangeproof_getheader_impl` because in the case of single-value proofs (`has_nz_range == 0`) some bits of the header are unconstrained. At first I thought this was a malleability vector. And I think I've had this same confusion in the past. But in fact it is not a malleability vector because the whole header gets hashed into the proof. Add a unit test to confirm this to reduce future confusion. ACKs for top commit: real-or-random: utACK 3a1c396 Tree-SHA512: 9670cd04fcc0bb322d89c2c86ef863e13c29e4477dc6fecdda16b9a745e42a84f237a7ec387b3291f334e2a5c5806a8cc7cc00e40246ad5b36366be841195b4b
- Loading branch information