Visible to Intel only — GUID: GUID-A44064C6-FCD4-4F36-AF7F-EC924AE91B2B
Visible to Intel only — GUID: GUID-A44064C6-FCD4-4F36-AF7F-EC924AE91B2B
PrimeInit
Initializes user-supplied memory as IppsPrimeState context for future use.
Syntax
IppStatus ippsPrimeInit(int nMaxBits, IppsPrimeState* pCtx);
Include Files
ippcp.h
Parameters
nMaxBits |
Maximum length of the probable prime number in bits. |
pCtx |
Pointer to the IppsPrimeState context being initialized. |
Description
The function initializes the memory pointed by pCtx as the IppsPrimeState context.
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. |
Related Information