3 ms·
Any machine that has a CCD image sensor has an excellent source of high-quality random noise, in the least-significant bit of each pixel. Each pixel will have
by ncmncm 7y ago
Any machine that has a CCD image sensor has an excellent source of high-quality random noise, in the least-significant bit of each pixel.
Each pixel will have a bias, but x-oring lots of them together gets nice, unbiased random bits to stir into your pool.
If it doesn't have a CCD, maybe it has a microphone or ambient-light sensor. That yields fewer total bits, but usually enough.
Maybe it has two, or all three. The advantage of mixing randomness from multiple sources is that you don't need to trust them all. If one starts feeding you FFFF..., the output has just a little less entropy, not none.
My guess for why AMD produces FFFFF... is that a Spook Mode was activated by accident. If so, it was supposed to switch to that only on command from the "management engine", the wired-in exploit every big CPU has. Maybe somebody deep within AMD wanted to ensure that we would not trust our RDRAND instruction overmuch.