Initializes user-supplied memory as IppsPrimeState context for future use.
IppStatus ippsPrimeInit(int nMaxBits, IppsPrimeState* pCtx);
nMaxBits |
Maximum length of the probable prime number in bits. |
pCtx |
Pointer to the IppsPrimeState context being initialized. |
This function is declared in the ippcp.h file. The function initializes the memory pointed by pCtx as the IppsPrimeState context.
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. |
ippStsLengthErr |
Indicates an error condition if nMaxBits is less than 1. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.