]> git.hungrycats.org Git - linux/commit
[PATCH] /dev/random: Use separate entropy store for /dev/urandom
authorTheodore Y. Ts'o <tytso@mit.edu>
Tue, 24 Aug 2004 04:44:39 +0000 (21:44 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 24 Aug 2004 04:44:39 +0000 (21:44 -0700)
commit62a455b28c2316600af727fe57e310ff0b9b3c6b
tree497ed7c8be2cb51958679fc0a84b87120bac2736
parentf5c416b4452afd89f4a19833237549f9a78a3689
[PATCH] /dev/random: Use separate entropy store for /dev/urandom

This patch adds a separate pool for use with /dev/urandom.  This prevents a
/dev/urandom read from being able to completely drain the entropy in the
/dev/random pool, and also makes it much more difficult for an attacker to
carry out a state extension attack.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/random.c