2 ms·
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 poo
by cbsmith 3y ago
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/48b1320a674e1ff5de2fad8606bee38f724594dc/drivers/char/random.c#L69 https://github.com/torvalds/linux/blob/48b1320a674e1ff5de2fa...
The "wait_for_random_bytes" function is still there:
https://github.com/torvalds/linux/blob/48b1320a674e1ff5de2fad8606bee38f724594dc/drivers/char/random.c#L132 https://github.com/torvalds/linux/blob/48b1320a674e1ff5de2fa...