Skip to content

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

@Layman806

Description

@Layman806

# 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions