Skip to content

Issue with creating ECPoint on "Secp256R1" Curve #225

Description

@jainchethan87

I am trying to create a ECPoint on standard Elliptic Curve "Secp256R1" domain parameters.
It works fine some time, but when the values for x or y is negative, it throws an exception.

This is the code:
eccurve.Curve.CreatePoint(X, Y);
X and Y are BigIntegers

Since X and Y are points on the curve (Its validated on the other end) why does it not accept them?
I am generating X and Y using a different library (micro ecc)

Please suggest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions