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

Fix Inline ec_Dbl in Shamir-Strauss #52

Merged
merged 1 commit into from
Dec 15, 2023

Conversation

nlordell
Copy link
Contributor

This PR proposes a change to fix the inline ec_Dbl implementation in the Shamir-Strauss procedure.

In particular, it was using (X-ZZ) instead of W when computing ZZZ for the doubled point.

Note that we still need the intermediary y2 because of Solidity stack limitations.

The test case added in #49 now passes.

@rdubois-crypto rdubois-crypto merged commit 95fd03d into rdubois-crypto:master Dec 15, 2023
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants