Showing posts with label kernel_random. Show all posts
Showing posts with label kernel_random. Show all posts

Dec 26, 2019

[randomness][kernel][note]

Reference:
On Linux's Random Number Generation: https://research.nccgroup.com/2019/12/19/on-linuxs-random-number-generation/
Myths about /dev/urandom (nice read):
https://www.2uo.de/myths-about-urandom/
Removing the Linux /dev/random blocking pool:
https://lwn.net/Articles/808575/
ChaCha20: https://en.wikipedia.org/wiki/Salsa20#ChaCha20_adoption

/dev/random     # may blocks, don't use it.
/dev/urandom    # does not blocks, just use this <---
getrandom()