[PATCH] replace pseudo_random with standard random calls
dwmw2 at infradead.org
Thu Mar 17 13:09:52 EST 2005
On Thu, 2005-03-17 at 19:02 +0100, Jörn Engel wrote:
> We could feed the current pseudo_randomness into the entropy pool.
> Will have to look into the details, there may be accounting problems.
> Adding pseudo_randomness is not a big problem, since everything is
> hashed. But accounting it as real entropy would be creating a false
> sense of security to other users.
You could feed it in, but not account for it. Then get random bytes from
the equivalent of /dev/urandom -- i.e. without waiting for there to be
enough. But if you're going to generate your own pseudo-entropy and then
get it back again, what's the point?
More information about the linux-mtd