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

How do you NOT check for primality when it is a necessary condition for the math to work? #10

Open
Layman806 opened this issue Mar 12, 2019 · 0 comments

Comments

@Layman806
Copy link

# coprimality is not checked here in favour of performance

I tried implementing the NIST proposed ECC curves, and using it, I found out that checking for coprimality leads to some inverses not existing due to gcd != 1. What do I do now? And how is this resolved in other applications implementating ECC.

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

No branches or pull requests

1 participant