Visible to Intel only — GUID: GUID-1598CB32-3A23-4B3A-BDC7-83529B137306
Visible to Intel only — GUID: GUID-1598CB32-3A23-4B3A-BDC7-83529B137306
GFpECSet
Sets up the parameters of an elliptic curve over a finite field.
Syntax
IppStatus ippsGFpECSet(const IppsGFpElement* pA, const IppsGFpElement* pB, IppsGFpECState* pEC);
Include Files
ippcp.h
Parameters
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. |
Description
This function assigns input values to the parameters of the elliptic curve in the IppsGFpECState context, if they are supplied.
Return Values
ippStsNoErr |
Indicates no error. Any other value indicates an error or warning. |
ippStsNullPtrErr |
Indicates an error condition if pEC is NULL. |
ippStsContextMatchErr |
Indicates an error condition in the following cases:
|
ippStsOutOfRangeErr |
Indicates an error condition if pA or pB does not belong to the finite field specified by the pGFp context. |