Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the complete formulas for point doubling and addition #297

Open
tomato42 opened this issue Jun 1, 2022 · 1 comment
Open

Use the complete formulas for point doubling and addition #297

tomato42 opened this issue Jun 1, 2022 · 1 comment
Labels
feature functionality to be implemented

Comments

@tomato42
Copy link
Member

tomato42 commented Jun 1, 2022

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

@tomato42 tomato42 added the feature functionality to be implemented label Jun 1, 2022
@tomato42 tomato42 added this to the someday/future milestone Jun 1, 2022
@mratsim
Copy link

mratsim commented Jan 29, 2023

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature functionality to be implemented
Projects
None yet
Development

No branches or pull requests

2 participants