Gets the size of the IppsPrimeState context in bytes.
IppStatus ippsPrimeGetSize(int nMaxBits, int* pSize);
nMaxBits |
Maximum length of the probable prime number in bits. |
pSize |
Pointer to the IppsPrimeState context size in bytes. |
This function is declared in the ippcp.h file. The function gets the IppsPrimeState context size in bytes and stores it in pSize.
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.