GFpECSetPoint, GFpECSetPointREgular
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 theXandYcoordinates of the point on the elliptic curve.
- pPoint
- Pointer to theIppsGFpECPointcontext.
- 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 isNULL.
- 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.