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