On Thu, 3 Mar 2005, Jeff Dike wrote: > [EMAIL PROTECTED] said: > > As I understand it, the kernel adds hardware RNG data to the entropy > > pool if the device is available. > > Can you give me a pointer to code that does this? I see no hint in random.c > that it takes entropy from the hardware rng.
Oops, mea culpa, urban legend at work. On a machine which has the Intel RNG, "dd if=/dev/hw_random of=/dev/null bs=1k count=10" finished in 3 seconds whereas the same with /dev/random too 11 minutes (the machine was not very active). I confirm your scan of the source code, that random.c doesn't mess with hw_random. The way it's supposed to be set up is, you install the rng-tools package (in SuSE v9.2 distro, or download from http://sourceforge.net/projects/gkernel/). rngd periodically reads /dev/hw_random and injects the entropy into the /dev/random suite. James F. Carter Voice 310 825 2897 FAX 310 206 6673 UCLA-Mathnet; 6115 MSA; 405 Hilgard Ave.; Los Angeles, CA, USA 90095-1555 Email: [EMAIL PROTECTED] http://www.math.ucla.edu/~jimc (q.v. for PGP key) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user