diff options
| author | Dominik Brodowski <[email protected]> | 2022-01-25 20:14:57 +0000 |
|---|---|---|
| committer | Jason A. Donenfeld <[email protected]> | 2022-02-04 18:22:32 +0000 |
| commit | c321e907aa4803d562d6e70ebed9444ad082f953 (patch) | |
| tree | 716a3613f8cb1540f947a4aece0ae81bb960904a /lib/string_helpers.c | |
| parent | lib/crypto: blake2s: avoid indirect calls to compression function for Clang CFI (diff) | |
| download | kernel-c321e907aa4803d562d6e70ebed9444ad082f953.tar.gz kernel-c321e907aa4803d562d6e70ebed9444ad082f953.zip | |
random: continually use hwgenerator randomness
The rngd kernel thread may sleep indefinitely if the entropy count is
kept above random_write_wakeup_bits by other entropy sources. To make
best use of multiple sources of randomness, mix entropy from hardware
RNGs into the pool at least once within CRNG_RESEED_INTERVAL.
Cc: Herbert Xu <[email protected]>
Cc: Jason A. Donenfeld <[email protected]>
Signed-off-by: Dominik Brodowski <[email protected]>
Signed-off-by: Jason A. Donenfeld <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
