OpenDOF Project
DOF_PCR_DECLSPEC void PCRSecureRandom_Generate ( uint32  len,
uint8 buf 
)

Generate a sequence of random data, filling the given buffer.

Note
The quality of the random data is platform-dependent, and may not be truly random (depending on the amount of entropy available).
Parameters
lenLength of buffer to be filled.
bufBuffer to be filled with random data. Must not be NULL if len is greater than zero.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22