Sets up parameters of the elliptic curve in the IppsGFPXECState context.
IppStatus ippsGFPXECSet(const IppsGFPXElement *pA, const IppsGFPXElement *pB, const IppsGFPXElement *pX, const IppsGFPXElement *pY, const Ipp32u *pOrder, Ipp32u orderLen, Ipp32u cofactor, IppsGFPXECState *pEC);
pA |
Pointer to the A parameter of the elliptic curve. |
pB |
Pointer to the B parameter of the elliptic curve. |
pX, pY |
Pointers to the x and y coordinates of the base point of the elliptic curve. |
pOrder |
Pointer to the array storing the order of the base point. |
orderLen |
Length of the array storing the order of the base point. |
cofactor |
The value of the cofactor. |
pEC |
Pointer to the context of the elliptic curve. |
This function is declared in the ippcp.h file. The function assigns values to the parameters of the elliptic curve in the IppsGFPXECState context.
ippStsNoErr |
Indicates no error. Any other value indicates an error or warning. |
ippStsNullPtrErr |
Indicates an error condition if the pEC pointer is NULL. |
ippStsContextMatchErr |
Indicates an error condition if any of the context parameters does not match the operation. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.