Creating the same random numbers

Andreas Leppert wudmx at web.de
Sat Jan 29 18:38:22 EST 2011


Hi,

On Sat, Jan 29, 2011 at 07:34:21PM +0000, Anuz Pratap Singh Tomar wrote:
> > for my evaluation of different kernel modules which rely on randomness I
> > need the same set of random numbers for each of them.
> >
> > Is there any chance that I can get a random number which depends on a
> > kind of seed value? So if I start with the same seed value, the same
> > random numbers should be generated.
> >
> If the same numbers are generated, then how can you call it random?
 
I want to compare different kernel modules which all require some data
based on randomness. But I can only compare them correctly, if they get
the same random data at a certain stage. 

I do only need this (the "fixed random numbers") for my evaluation!






More information about the Kernelnewbies mailing list