Developer Reference for Intel® Integrated Performance Primitives Cryptography 2018
Initializes the context of a standard elliptic curve over a finite field
IppStatus ippsGFpECInitStd128r1(const IppsGFpState* pGF, IppsGFpECState* pEC);
IppStatus ippsGFpECInitStd128r2(const IppsGFpState* pGF, IppsGFpECState* pEC);
IppStatus ippsGFpECInitStd192r1(const IppsGFpState* pGF, IppsGFpECState* pEC);
IppStatus ippsGFpECInitStd224r1(const IppsGFpState* pGF, IppsGFpECState* pEC);
IppStatus ippsGFpECInitStd256r1(const IppsGFpState* pGF, IppsGFpECState* pEC);
IppStatus ippsGFpECInitStd384r1(const IppsGFpState* pGF, IppsGFpECState* pEC);
IppStatus ippsGFpECInitStd521r1(const IppsGFpState* pGF, IppsGFpECState* pEC);
IppStatus ippsGFpECInitStdSM2(const IppsGFpState* pGF, IppsGFpECState* pEC);
IppStatus ippsGFpECInitStdBN256(const IppsGFpState* pGF, IppsGFpECState* pEC);
ippcp.h
pGF |
Pointer to the IppsGFpState context of the underlying finite field. |
pEC |
Pointer to the context of the elliptic curve being initialized. |
This function initializes the memory buffer pEC associated with the IppsGFpECState context and sets up the parameters of a specific standard elliptic curve. For a list of these curves, see table Standard Elliptic Curves.
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 if the IppsGFpState context parameter does not match the operation. |
ippStsBadArgErr |
Indicates an error condition if the IppsGFpState context parameter does not specify the finite field over which the given standard elliptic curve is defined. |