PrimeGet

Extracts the probable prime unsigned integer big number.

Syntax

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

Parameters

pBNU

Pointer to the unsigned integer big number.

pSize

Pointer to the length of the unsinged integer big number.

p

Pointer to the IppsPrimeState context.

Description

This function is declared in the ippcp.h file. 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.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.