tlsfuzzer/python-ecdsa

Use the complete formulas for point doubling and addition

tomato42 opened this issue · 1 comments

https://safecurves.cr.yp.to/ is outdated, there are complete point addition and doubling formulas: https://eprint.iacr.org/2015/1060 we should use them to protect against bugs in special case handling

I see that you use Jacobian coordinates.

You can also use conditional copies to select between add and doubles:

And for projective coordinates complete formulas: