Subject: CVS commit: syssrc/sys/dev
To: None <source-changes@netbsd.org>
From: Daniel Carosone <dan@netbsd.org>
List: source-changes
Date: 10/09/2002 17:48:59
Module Name: syssrc
Committed By: dan
Date: Wed Oct 9 14:48:58 UTC 2002
Modified Files:
syssrc/sys/dev: rnd.c rndpool.c
Log Message:
Account for 1 bit of entropy for each timestamp added during
initialisation. This is just as silly as the other entropy
estimations, but it at least allows us to see how many values have
been added.
spl protect rnd_get_entropy_counter call properly
Make rndpool start out doing rotations on the first pass - make the
LSFR's be less sensitive to stuck bits in poor initial inputs.
Add considerable comments regarding the mixing function.
To generate a diff of this commit:
cvs rdiff -r1.34 -r1.35 syssrc/sys/dev/rnd.c
cvs rdiff -r1.15 -r1.16 syssrc/sys/dev/rndpool.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.