Lightweight Cryptography Primitives
|
State information for a Grain-128 based PRNG. More...
#include <grain-prng.h>
Data Fields | |
struct { | |
unsigned char state [32] | |
size_t rekeys | |
size_t count | |
size_t limit | |
} | s |
unsigned long long | align |
State information for a Grain-128 based PRNG.
unsigned long long grain_prng_state_t::align |
For alignment of this structure
size_t grain_prng_state_t::count |
Number of bytes generated since last reseed
size_t grain_prng_state_t::limit |
Limit on generated bytes before a reseed
size_t grain_prng_state_t::rekeys |
Number of rekey operations that have been done
struct { ... } grain_prng_state_t::s |
State
unsigned char grain_prng_state_t::state[32] |
Current PRNG state