Re:Random Number Generator Recommendations for Applications
by cbsmith on Wednesday May 31, 2023 @11:59AM
(#36139870)
I'll have to look at the talk, but I've had first hand experience with that behaviour from /dev/random. Perhaps it has changed over time.
Re:Random Number Generator Recommendations for Applications
by cbsmith on Wednesday May 31, 2023 @01:16PM
(#36140873)
I just checked the source code, and it appears that the entropy pool is alive and well and that /dev/random still waits for enough entropy to collect in the pool before providing more data for consumption.
https://github.com/torvalds/linux/blob/48b1320a674e1ff5de2fa...
The "wait_for_random_bytes" function is still there: https://github.com/torvalds/linux/blob/48b1320a674e1ff5de2fa...
See Jason Donenfeld's authoritative talk on the Linux RNG for details: https://youtu.be/-_yzaSp2xtY