HomeFreeBSD

Very large makeover of the /dev/random driver.
rS74072Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

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.

Details

Provenance
markmAuthored on
Parents
rS74071: Allow for the last arugment to be the mountpoint of a filesystem,
Branches
Unknown
Tags
Unknown

Event Timeline