Files
Linux/drivers
Jason A. Donenfeld cbe89e5a37 random: do not use batches when !crng_ready()
It's too hard to keep the batches synchronized, and pointless anyway,
since in !crng_ready(), we're updating the base_crng key really often,
where batching only hurts. So instead, if the crng isn't ready, just
call into get_random_bytes(). At this stage nothing is performance
critical anyhow.

Cc: Theodore Ts'o <[email protected]>
Reviewed-by: Dominik Brodowski <[email protected]>
Signed-off-by: Jason A. Donenfeld <[email protected]>
2022-05-13 23:59:23 +02:00
..
…
…
…
2022-04-06 08:47:52 -06:00
2022-04-08 12:59:43 -07:00
…
…
…
…
…
…
…
…
…
2022-04-27 20:36:47 +02:00
…
…
…
…
2022-04-24 17:25:10 +02:00
…
…
2022-05-04 00:00:07 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2022-04-28 16:51:24 +02:00
…
…
…
…
…