OpenDOF Project
Functions
PCRSecureRandom
Portable C Runtime (PCR)

A Cryptographically Secure Random Number Generator implementation. More...

Functions

DOF_PCR_DECLSPEC void PCRSecureRandom_Generate (uint32 len, uint8 *buf)
 Generate a sequence of random data, filling the given buffer.
 
DOF_PCR_DECLSPEC uint32 PCRSecureRandom_Get (void)
 Retrieve a random number.
 

Detailed Description

A Cryptographically Secure Random Number Generator implementation.

Note
The quality of the randomness should be suitable for cryptography and security applications.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22