Files | |
file | entropy.c |
Entropy gathering routine(s) for pseudo-random generator initialization. | |
Data Structures | |
struct | entropySource |
Entropy sources | |
typedef int(* | entropyNext )(uint32 *data, int size) |
int | entropySourceCount (void) |
const entropySource * | entropySourceGet (int index) |
const entropySource * | entropySourceFind (const char *name) |
const entropySource * | entropySourceDefault (void) |
int | entropyGatherNext (uint32 *data, int size) |
|
Return an array of 32-bit unsigned integers of given size with entropy data.
Definition at line 45 of file beecrypt.h. |
|
Gather entropy from multiple sources (if BEECRYPT_ENTROPY is not set).
Definition at line 129 of file beecrypt.c. Referenced by fips186Setup, and mtprngSetup. |
|
Return the number of entropy sources available.
Definition at line 89 of file beecrypt.c. References BEECRYPTAPI, and uint32. |
|
Retrieve the default entropy source. If the BEECRYPT_ENTROPY environment variable is set, use that entropy source. Otherwise, use the 1st entry in the internal table.
Definition at line 116 of file beecrypt.c. |
|
Retrieve a entropy source by name.
Definition at line 103 of file beecrypt.c. Referenced by entropyGatherNext, and entropySourceDefault. |
|
Retrieve a entropy source by index.
Definition at line 94 of file beecrypt.c. |