Visible to Intel only — GUID: GUID-92785CDB-3315-4A2C-BE73-830334081364
Visible to Intel only — GUID: GUID-92785CDB-3315-4A2C-BE73-830334081364
GFpECInit
Initializes the context of an elliptic curve over a finite field.
Syntax
IppStatus ippsGFpECInit(const IppsGFpState* pGF, const IppsGFpElement* pA, const IppsGFpElement* pB, IppsGFpECState* pEC);
Include Files
ippcp.h
Parameters
pGF |
Pointer to the IppsGFpState context of the underlying finite field. |
pA |
Pointer to the coefficient A of the equation defining the elliptic curve. |
pB |
Pointer to the coefficient B of the equation defining the elliptic curve. |
pEC |
Pointer to the context of the elliptic curve being initialized. |
Description
This function initializes the memory buffer pEC associated with the IppsGFpECState context and sets up the parameters of the elliptic curve if they are supplied. The initialized context is used in functions that create contexts of points on the curve (elements of the group of points) and perform operations with the points.
Return Values
ippStsNoErr |
Indicates no error. Any other value indicates an error or warning. |
ippStsNullPtrErr |
Indicates an error condition if either pEC or pGF is NULL. |
ippStsContextMatchErr |
Indicates an error condition in the following cases:
|