Initializes the IppsGFPELement context of a GF(p) element.
IppStatus ippsGFPElementInit(IppsGFPElement *pGFpElement, const Ipp32u *pData, Ipp32u dataLen, IppsGFPState *pGFp);
pGFpElement |
Pointer to the context of the GF(p) element being initialized. |
pData |
Pointer to the data array storing the GF(p) element. |
dataLen |
Length of the element. |
pGFp |
Pointer to the context of the GF(p) field. |
This function is declared in the ippcp.h file. The function initializes the memory buffer *pGFpElement associated with the IppsGFPElement context and sets up the specific element of the GF(p) field. The initialized IppsGFPElement context is used in all the operations with this element of the GF(p) field.
ippStsNoErr |
Indicates no error. Any other value indicates an error or warning. |
ippStsNullPtrErr |
Indicates an error condition if any of the specified pointers is NULL. |
ippContextMatchErr |
Indicates an error condition if any of the IppsGFPState or IppsGFPElement context parameters does not match the operation. |
ippStsSizeErr |
Indicates an error condition if dataLen is ten times greater than the GF(p) modulus. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.