PrimeGet

Extracts the probable prime unsigned integer big number.

Syntax

IppStatus ippsPrimeGet(Ipp32u* pBNU, int *pSize, const IppsPrimeState *pCtx);

Include Files

ippcp.h

Parameters

pBNU

Pointer to the unsigned integer big number.

pSize

Pointer to the length of the unsinged integer big number.

pCtx

Pointer to the IppsPrimeState context.

Description

The function extracts the probable prime number from *pCtx context and stores it into the specified unsigned integer big number.

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.

ippStsContextMatchErr

Indicates an error condition if the context parameter does not match the operation.