Re: [PATCH] Re: [PATCH] drivers/net: remove network drivers' last few uses of IRQF_SAMPLE_RANDOM

From: Herbert Xu
Date: Fri May 16 2008 - 08:13:34 EST


On Fri, May 16, 2008 at 12:19:49PM +0200, Andi Kleen wrote:
>
> Just think a little bit: system has no randomness source except the
> hardware RNG. you do your strange randomness verification. if it fails
> what do you do? You don't feed anything into your entropy pool and all
> your random output is predictable (just boot time) If you add anything
> predictable from another source it's still predictable, no difference.

You can continue to feed data into the pool even if it fails the
test. You just keep the entropy value same as before.

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/