mirror of https://github.com/bitcoin/bitcoin
Use a conditional move of the same kind we use for the affine points in the storage type instead of multiplying with the infinity flag and adding. This results in fewer constructions to worry about for sidechannel behavior. It also might be faster: It doesn't appear to benchmark as slower for me at least; but I think the CMOV is faster than the mul_int + add, but slower than the set+add; making it a wash.pull/11871/head
parent
f3d3519ce0
commit
bb0ea50de8
Loading…
Reference in new issue