Assigns the value of a given power of two to an element of the GF(p) field.
IppStatus ippsGFPSetElementPower2(Ipp32u power, IppsGFPElement *pGFpElement, IppsGFPState *pGFp);
power |
The exponent. |
pGFpElement |
Pointer to the context of the GF(p) element. |
pGFp |
Pointer to the context of the GF(p) field. |
This function is declared in the ippcp.h file. The function sets (and converts if needed) the value of the given element of the GF(p) field to 2power.
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 (power + 1) is ten times greater than the GF(p) modulus in bits. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.