Date: Sat, 10 Mar 2001 04:51:57 -0800 (PST) From: Mark Murray <markm@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/random randomdev.h harvest.c hash.c hash.h randomdev.c yarrow.c yarrow.h Message-ID: <200103101251.f2ACpv610133@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
markm 2001/03/10 04:51:57 PST
Modified files:
sys/dev/random harvest.c hash.c hash.h randomdev.c
yarrow.c yarrow.h
Added files:
sys/dev/random randomdev.h
Log:
Very large makeover of the /dev/random driver.
o Separate the kernel stuff from the Yarrow algorithm. Yarrow is now
well contained in one source file and one header.
o Replace the Blowfish-based crypto routines with Rijndael-based ones.
(Rijndael is the new AES algorithm). The huge improvement in
Rijndael's key-agility over Blowfish means that this is an
extremely dramatic improvement in speed, and makes a heck of
a difference in its (lack of) CPU load.
o Clean up the sysctl's. At BDE's prompting, I have gone back to
static sysctls.
o Bug fixes. The streamlining of the crypto stuff enabled me to
find and fix some bugs. DES also found a bug in the reseed routine
which is fixed.
o Change the way reseeds clear "used" entropy. Previously, only the
source(s) that caused a reseed were cleared. Now all sources in the
relevant pool(s) are cleared.
o Code tidy-up. Mostly to make it (nearly) 80-column compliant.
Revision Changes Path
1.13 +2 -5 src/sys/dev/random/harvest.c
1.6 +54 -56 src/sys/dev/random/hash.c
1.2 +11 -9 src/sys/dev/random/hash.h
1.24 +245 -92 src/sys/dev/random/randomdev.c
1.33 +110 -277 src/sys/dev/random/yarrow.c
1.16 +9 -29 src/sys/dev/random/yarrow.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103101251.f2ACpv610133>
