Visible to Intel only — GUID: GUID-D626590B-9A9B-47E6-A1D4-5DFE31EF685E
Visible to Intel only — GUID: GUID-D626590B-9A9B-47E6-A1D4-5DFE31EF685E
PrimeGetSize
Gets the size of the IppsPrimeState context in bytes.
Syntax
IppStatus ippsPrimeGetSize(int nMaxBits, int* pSize);
Include Files
ippcp.h
Parameters
nMaxBits |
Maximum length of the probable prime number in bits. |
pSize |
Pointer to the IppsPrimeState context size in bytes. |
Description
The function gets the IppsPrimeState context size in bytes and stores it in pSize.
Return Values
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. |