Sets the Big Number for primality testing.
IppStatus ippsPrimeSet_BN(const IppsBigNumState* pBN, IppsPrimeState* pCtx);
pBN |
Pointer to the Big Number context. |
pCtx |
Pointer to the IppsPrimeState context. |
This function is declared in the ippcp.h file. The function sets the Big Number for probabilistic primality test.
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. |
ippStsOutOfRangeErr |
Indicates an error condition if the Big Number is too large to fit pCtx. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.