random() in kernel

Pedro Roque Marques (roque@di.fc.ul.pt)
Mon, 27 May 1996 18:47:33 +0100


I need to obtain random numbers in the kernel, to be more clear i'm
looking for statistic random numbers. Since there are a lot of people
out there that got some handly algorithms i would like a pointer to
them. The generator doesn't need to be very good, size and speed are
major concerns. The reason why the phisical event counter based
entropy is not too good for my purposes is that the generator will be
called right after system initialization and the fact that the
objective is obtaining equally distributed numbers.

What is in question here is the right time to send packets to the
network to avoid colisions.