Generates a pseudorandom unsigned Big Number of the specified bitlength.
IppStatus ippsPRNGen(Ipp32u* pRandBNU, int nBits, void* pCtx);
pRandBNU |
Pointer to the output pseudorandom unsigned integer big number. |
nBits |
Number of the generated pseudorandom bit. |
pCtx |
Pointer to the IppsPRNGState context. |
This function is declared in the ippcp.h file. The function generates pseudorandom unsigned integer big number of the specified nBits length.
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. |
ippStsLengthErr |
Indicates an error condition if nBits is less than 1. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.