|
|
Subscribe / Log in / New account

/dev/random cleanup

From:  Oliver Xymoron <oxymoron@waste.org>
To:  Linus Torvalds <torvalds@transmeta.com>
Subject:  [PATCH 0/7] /dev/random cleanup
Date:  Sat, 28 Sep 2002 00:50:40 -0500
Cc:  linux-kernel <linux-kernel@vger.kernel.org>

[resent with current l-k address]

Linus,

The following patches against 2.5.39 clean up the RNG support
substantially. Please pay special attention to the first patch, which
fixes two major bugs in the reseeding logic. They can be easily
demonstrated by running 'cat /dev/random | hexdump' on a quiescent
system. When it blocks, lightly tapping the mouse generates a large
stream of additional output, despite very little entropy being added.

The second and third patches introduce my fixes for the more
theoretical issues and should address all the issues that have been
raised.

The fourth and fifth make the pool and reseeding logic much more clear
and create a new pool for /dev/urandom that avoids starving
/dev/random readers.

Six and seven propagate the new API to the rest of the kernel and
remove dead code.

Please apply.

-- 
 "Love the dolphins," she advised him. "Write by W.A.S.T.E.." 
-
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/


Copyright © 2002, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds