|
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
-
len | Length of buffer to be filled. |
buf | Buffer to be filled with random data. |
|