Date: Sat, 14 Oct 2000 03:59:56 -0700 (PDT) From: Mark Murray <markm@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf files src/sys/dev/random harvest.c hash.c randomdev.c yarrow.c yarrow.h src/sys/dev/randomdev harvest.c hash.c hash.h randomdev.c yarrow.c yarrow.h src/sys/modules Makefile src/sys/modules/random Makefile src/sys/modules/randomdev ... Message-ID: <200010141059.DAA73069@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
markm 2000/10/14 03:59:56 PDT
Modified files:
sys/conf files
sys/dev/random harvest.c hash.c randomdev.c yarrow.c
yarrow.h
sys/modules Makefile
sys/modules/random Makefile
Removed files:
sys/dev/randomdev harvest.c hash.c hash.h randomdev.c
yarrow.c yarrow.h
sys/modules/randomdev Makefile
Log:
After some complaints about the dir names, the random device is
now in dirs called sys/*/random/ instead of sys/*/randomdev/*.
Introduce blocking, but only at startup; the random device will
block until the first reseed happens to prevent clients from
using untrustworthy output.
Provide a read_random() call for the rest of the kernel so that
the entropy device does not need to be present. This means that
things like IPX no longer need to have "device random" hardcoded
into thir kernel config. The downside is that read_random() will
provide very poor output until the entropy device is loaded and
reseeded. It is recommended that developers do NOT use the
read_random() call; instead, they should use arc4random() which
internally uses read_random().
Clean up the mutex and locking code a bit; this makes it possible
to unload the module again.
Revision Changes Path
1.428 +5 -5 src/sys/conf/files
1.7 +61 -18 src/sys/dev/random/harvest.c
1.3 +2 -2 src/sys/dev/random/hash.c
1.15 +38 -10 src/sys/dev/random/randomdev.c
1.21 +35 -32 src/sys/dev/random/yarrow.c
1.8 +8 -4 src/sys/dev/random/yarrow.h
1.143 +3 -3 src/sys/modules/Makefile
1.6 +3 -2 src/sys/modules/random/Makefile
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?200010141059.DAA73069>
