random: use hwgenerator randomness more frequently at early boot
authorDominik Brodowski <linux@dominikbrodowski.net>
Sun, 4 Sep 2022 10:17:53 +0000 (12:17 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 23 Sep 2022 10:27:57 +0000 (12:27 +0200)
commit745558f9588551b1fef9609d165e239bce30d3e8
tree641b7fd47a65ef944ed6c4e782b91a89fce0ee12
parentcd4f24ae9404fd31fc461066e57889be3b68641b
random: use hwgenerator randomness more frequently at early boot

Mix in randomness from hw-rng sources more frequently during early
boot, approximately once for every rng reseed.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
drivers/char/random.c