Assigns a random value to an element of the GF(p^d) field.
IppStatus ippsGFPXSetElementRandom(IppsGFPXElement *pGFpxElement, IppsGFPXState *pGFpx, IppBitSupplier rndFunc, void* pRndParam);
pGFpxElement |
Pointer to the context of the GF(p^d) element. |
pGFpx |
Pointer to the context of the GF(p^d) field. |
rndFunc |
Function that generates random sequences. |
pRndParam |
Pointer to the context of a random sequence generator. |
This function is declared in the ippcp.h file. The function assigns a random value to the given element of the GF(p^d) 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 IppsGFPXState or IppsGFPXElement context parameters does not match the operation. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.