OpenDOF Project
Files | Functions
PCRRandom
Portable C Runtime (PCR)

A Pseudo-Random Number Generator implementation. More...

Files

file  pcr.h
 Header file for the Portable C Runtime functions, defines and data types.
 

Functions

DOF_PCR_DECLSPEC void PCRRandom_Generate (uint32 len, uint8 *buf)
 Generate a sequence of pseudo-random data, filling the given buffer.
 
DOF_PCR_DECLSPEC void PCRRandom_Seed (uint32 seed)
 Set the seed for the Pseudo-Random Number Generator.
 
DOF_PCR_DECLSPEC uint32 PCRRandom_Get (void)
 Retrieve a pseudo-random number.
 

Detailed Description

A Pseudo-Random Number Generator implementation.

Note
The quality of the randomness generated is platform-dependent, and may not be suitable for cryptography or security applications.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22