Theme 1 – Distrust of hardware RNGs (potential backdoors / lack of auditability)
Many commenters worry that relying on a single, sealed hardware source like Intel’s RDRAND could hide a backdoor. As leonidasrup quoted Theodore Ts’o:
“I am so glad I resisted pressure from Intel engineers to let /dev/random rely only on the RDRAND instruction.”
Theme 2 – The AMD Zen2 RDRAND zero‑missing bug
A large part of the thread focuses on the observation that rdrand16 on Zen2 never returns zero (or reports an error). Users reproduced the issue and debated its relevance. For example, jstanley noted:
“I can reproduce it with rdrand16, rdrand32 is fine but rdrand16 can never generate all 0s.”
Theme 3 – Best practices for random number generation
Discussants repeatedly stress that secure randomness should come from multiple, mixed sources and that rolling your own RNG is risky unless you have no alternative. strenholme explained his approach:
“I use, in security critical contents of my software … a type of random number generator called an XOF (extendable‑output function).”
Others, like sltkr, added:
“The only legitimate reason to roll your own is when you're developing for an embedded system or a bootloader … where there is no kernel API available.”