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).
The default implementation relies on the existance of /dev/urandom.
Parameters
lenLength of buffer to be filled.
bufBuffer to be filled with random data.
core-c-dof-oal Version 7.1.5 Build 0
2017-01-25