OpenDOF Project
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-pcr-dev Version 7.0.1 Build 0
2017-04-11