OpenDOF Project
Files | Functions
PCRRandom

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

Files

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

Functions

void PCRRandom_Generate (uint32 len, uint8 *buf)
 Generate a sequence of pseudo-random data, filling the given buffer.
 
void PCRRandom_Seed (uint32 seed)
 Set the seed for the Pseudo-Random Number Generator.
 
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-pcr-dev Version 7.0.1 Build 0
2017-04-11