Creating the same random numbers
From: Anuz Pratap Singh Tomar <hidden>
Date: 2011-01-29 19:34:21
On Sat, Jan 29, 2011 at 2:09 PM, Andreas Leppert [off-list ref] wrote:
Hi, 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?
Is there any way in the kernel to achieve this? Thanks for your hints, Andreas Leppert _______________________________________________ Kernelnewbies mailing list Kernelnewbies at kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110129/e45a98fd/attachment.html