|
D.12.3.24 isOnCurve
Procedure from library crypto.lib (see crypto_lib).
- Usage:
- isOnCurve(N,a,b,P);
- Return:
- 1 or 0 (depending on whether P is on the curve or not)
- Note:
- checks whether P=(P[1]:P[2]:P[3]) is a point on the elliptic
curve defined by y^2z=x^3+a*xz^2+b*z^3 over Z/N
Example:
|