Developer Reference for Intel® Integrated Performance Primitives Cryptography
Constructs the coordinates of a point on an elliptic curve based on the X-coordinate.
IppStatus ippsGFpECMakePoint(const IppsGFpElement* pX, IppsGFpECPoint* pPoint, IppsGFpECState* pEC);
ippcp.h
pX |
Pointer to the X-coordinate of the point on the elliptic curve. |
pPoint |
Pointer to the IppsGFpECPoint context. |
pEC |
Pointer to the context of the elliptic curve. |
This function computes the coordinates of a point on an elliptic curve based on the X-coordinate.
ippStsNoErr |
Indicates no error. Any other value indicates an error or warning. |
ippStsNullPtrErr |
Indicates an error condition if any of the specified pointers is NULL. |
ippStsContextMatchErr |
Indicates an error condition if any of the specified contexts does not match the operation. |
ippStsOutOfRangeErr |
Indicates an error condition in the following cases:
|
ippStsBadArgErr |
Indicates an error condition if the finite field over which the elliptic curve is initialized is not prime. |
ippStsQuadraticNonResidueErr |
Indicates an error condition if the square of the Y-coordinate of the point is a quadratic non-residue modulo p. |