Re:RDRAND on AMD Ryzen 9 5900X is flakey
by dragontamer on Monday January 11, 2021 @05:17PM
(#25738240)
RDRAND can output a 64-bit number.
The intrinsic used is the 32-bit version of RDRAND, which is... suboptimal... for a test like this. As you've noted.
Even then, RDRAND has no entropy guarantees (again: see my top comment about RDSEED vs RDRAND).
If that is case, maybe RDRAND shouldn't be used for uniqueness.