info.txt |
|
245 |
stateful_rng.cpp |
|
3622 |
stateful_rng.h |
Inherited by RNGs which maintain in-process state, like HMAC_DRBG.
On Unix these RNGs are vulnerable to problems with fork, where the
RNG state is duplicated, and the parent and child process RNGs will
produce identical output until one of them reseeds. Stateful_RNG
reseeds itself whenever a fork is detected, or after a set number of
bytes have been output.
Not implemented by RNGs which access an external RNG, such as the
system PRNG or a hardware RNG.
|
5284 |