aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorDominik Brodowski <[email protected]>2022-01-25 20:14:57 +0000
committerJason A. Donenfeld <[email protected]>2022-02-04 18:22:32 +0000
commitc321e907aa4803d562d6e70ebed9444ad082f953 (patch)
tree716a3613f8cb1540f947a4aece0ae81bb960904a /lib/string_helpers.c
parentlib/crypto: blake2s: avoid indirect calls to compression function for Clang CFI (diff)
downloadkernel-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