Vineet Joglekar wrote:
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 b
I think ur idea of generating a random number
with a seed will not be effective. The kernel comes up
with true random number generation by using the random
interaction of device drivers with the kernel. I think
that will be more effective than ur logic. It provides
true randomness and it av
On Mon, Mar 07, 2005 at 06:18:53PM -0500, Vineet Joglekar wrote:
> 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.
Google for "Numerical recipes in C", it has a comp
As far as I understand the kernel generates random numbers gathering
data from several entropy sources, you will never get repetability
from there. Two options I know of:
1) The standard C library has the functions rand and random, wich
seems to have a decent distribution of the random numbers.
2
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
5 matches
Mail list logo