Visible to Intel only — GUID: GUID-5BB3759B-88CE-41E8-8243-EF0EF8DC674E
Visible to Intel only — GUID: GUID-5BB3759B-88CE-41E8-8243-EF0EF8DC674E
GFpECSetPoint, GFpECSetPointREgular
Sets up the coordinates of a point on an elliptic curve.
Syntax
IppStatus ippsGFpECSetPoint(const IppsGFpElement* pX, const IppsGFpElement* pY, IppsGFpECPoint* pPoint, IppsGFpECState* pEC);
IppStatus ippsGFpECSetPointRegular(const IppsBigNumState* pX, const IppsBigNumState* pY, IppsGFpECPoint* pPoint, IppsGFpECState* pEC);
Include Files
ippcp.h
Parameters
pX, pY |
Pointers to the X and Y coordinates of the point on the elliptic curve. |
pPoint |
Pointer to the IppsGFpECPoint context. |
pEC |
Pointer to the context of the elliptic curve. |
Description
This function sets up the coordinates of a point on the elliptic curve over the finite field.
Return Values
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 if the point coordinates (pX, pY) do not belong to the finite field over which the elliptic curve is initialized. |