lkml.org 
[lkml]   [2005]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRandom number generator in Linux kernel
From
Date

Hi all,



Can someone please tell me where can I find and which random/pseudo-random number generator can I use inside the linux kernel? (2.4.28)



I found out 1 function get_random_bytes() in linux/drivers/char/random.c but thats not what I want.



I want a function where I will be supplying a seed to that function as an input, and will get a random number back. If same seed is used, same number should be generated again.



Can anybody please help me with that?



Thanks and regards,



Vineet.

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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