Re: Entropy Pool Contents

From: Phillip Susi
Date: Tue Nov 28 2006 - 12:22:11 EST


Martin Mares wrote:
More importantly, it should be possible for root to write to /dev/random
_without_ increasing the entropy count, for example when restoring random
pool contents after reboot. In such cases you want the pool to contain
at least some unpredictable data before real entropy arrives, so that
/dev/urandom cannot be guessed, but you unless you remember the entropy
counter as well, you should not add any entropy.

After a reboot the entropy estimate starts at zero, so if you are adding data to the pool from the previous boot, you DO want the estimate to increase because you are, in fact, adding entropy.
-
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/