Re: Continuing /dev/random problems with 2.4

From: David Wagner (daw@mozart.cs.berkeley.edu)
Date: Fri Feb 01 2002 - 20:33:48 EST


Jeff Garzik wrote:
>There actually used to be a timer function in i810_rng driver which
>directly added entropy to the pool. batch_entropy_store was exported in
>order to do this.
>
>However, that was just the quick and dirty way. You DO NOT want to do
>this in the kernel, because one must perform fitness tests on the random
>data before adding it to the kernel's /dev/[u]random entropy pool.
>Putting proper fitness tests into the kernel is just plain code bloat.

Hmm. I don't quite follow your reasoning. Does the kernel already
perform fitness tests on random data from other drivers? I don't
think so.

The i810 rng seems much less prone to entropy failure than the data
currently collected from I/O events. Why are fitness tests for it more
important than for the existing entropy sources that are currently in
the kernel?

What am I missing?
-
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/



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:20 EST