Re:Openssl: uses only 32 bytes (256 bit) for key generation
by tptacek on Wednesday March 19, 2014 @07:58PM
(#7432784)
No, the entropy estimator in /dev/random does not keep /dev/random from spitting out unsafe bits while allowing /dev/urandom to do that. A CSPRNG is akin to a stream cipher. The keystream of a stream cipher is as secure at it's 0th bit as it is at its 18446744073709551616th. An AES-CTR keystream doesn't "run out" of key, and /dev/urandom doesn't "run out" of entropy.
It's frustrating the the Linux random man page implies otherwise, because the idea is cryptographically nonsensical.
It's frustrating the the Linux random man page implies otherwise, because the idea is cryptographically nonsensical.