|
|
Subscribe / Log in / New account

Ivy Bridge first Intel processor with digital hardware random number generator

Ivy Bridge first Intel processor with digital hardware random number generator

Posted Mar 30, 2012 13:17 UTC (Fri) by jhhaller (guest, #56103)
In reply to: Russell: Sources of Randomness for Userspace by drag
Parent article: Russell: Sources of Randomness for Userspace

There have been analog random number generators in chipsets before, but they were relatively slow (few hundred kilobits per second), compared to about 3 gigabits per second. See IEEE Spectrum article, including a reference to lavarand, the lava-lamp based random number generator.


to post comments

Ivy Bridge first Intel processor with digital hardware random number generator

Posted Mar 30, 2012 15:17 UTC (Fri) by jhardin (guest, #3297) [Link] (1 responses)

I've always wondered why a 4- or 8-bit register incremented on every clock cycle wouldn't be a simple yet good enough source of entropy? How often is it going to be read?

Ivy Bridge first Intel processor with digital hardware random number generator

Posted Apr 2, 2012 12:52 UTC (Mon) by jzbiciak (guest, #5246) [Link]

That was a fine source of randomness for, say the MIPS TLB random replacement, especially since page faults are "far apart," typically.

What about the kernel entropy pool though? First off, where are you sampling this counter to give you data to mix into the pool? Interrupts? With periodic interrupts, you can probably only trust the LSB of the counter to be truly random. That leaves you generating only hundreds or thousands of bits per second.

In any case, on most modern CPUs, we have this freerunning counter already. On x86, it's called the TSC. Of course, it appears RDTSC can get mucked up by virtualization.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds