[lkml]   [1996]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: CONFIG_RANDOM option for 1.99.2

> numbers. Consider a simulation using the Monte Carlo method--pseudorandom
> numbers might produce misleading results.

In fact, Monte Carlo tests are done *specifically* using pseudorandom
sequences so that they can be repeated and validated against different
models -- nothing as spectrally poor as linear-congruential, but still

/dev/random is for the times when you want *real* physical entropy...
and since the whole *point* of a kernel is to hide you from physical
variation, the only practical way to get it is with cooperation from
the kernel. That's why I'd argue that /dev/random is *special* and
should at best be a strongly worded default=yes option.

As for portability: I've heard of at least one named-pipe based
user-space portable implementation of /dev/random. Also, Ted's kernel
code has been ported (or has inspired related implementations) to
several other platforms...

 \ /
  Last update: 2005-03-22 13:37    [W:0.175 / U:0.992 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site