Magnitude m means values are allowed to be up to 2 * 0xFFF...FFF * m, while the argument passed to secp256k1_fe_negate didn't take the 2 into account. Fix this.
Fix interaction between magnitudes and negation #85
pull sipa wants to merge 1 commits into bitcoin-core:master from sipa:fixnegate changing 2 files +15 −15-
sipa commented at 9:25 AM on November 2, 2014: contributor
-
7a8e385d74
Fix interaction between magnitudes and negation
Magnitude m means values are allowed to be up to 2 * 0xFFF...FFF * m, while the argument passed to secp256k1_fe_negate didn't take the 2 into account. Fix this.
-
sipa commented at 9:34 AM on November 2, 2014: contributor
@peterdettman I believe you'll agree with this?
-
peterdettman commented at 3:27 PM on November 2, 2014: contributor
Yes, agreed!
- sipa merged this on Nov 3, 2014
- sipa closed this on Nov 3, 2014
- sipa referenced this in commit cc20075ef7 on Nov 3, 2014
Contributors