Visible to Intel only — GUID: GUID-85B1376B-D7BD-4D73-AE5B-B26FA5819928
Visible to Intel only — GUID: GUID-85B1376B-D7BD-4D73-AE5B-B26FA5819928
PRNGGetSeed
Extracts the seed value of the pseudorandom number generator from the context structure.
Syntax
IppStatus ippsPRNGGetSeed(const IppsPRNGState* pCtx, IppsBigNumState* pSeed);
Include Files
ippcp.h
Parameters
pCtx |
Pointer to the IppsPRNGState context. |
pSeed |
Pointer to the seed value. |
Description
The function extracts the seed value of the pseudorandom number generator from the IppsPRNGState context structure into a 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 *pSeed is not a IppsBigNumState structure or *pCtx is not a IppsPRNGState structure. |
ippOutOfRangeErr |
Indicates an error condition if the length of the actual seed exceeds *pSeed. |