DEV-RANDOM INSTALLATION ON FREEBSD 4.11-RELEASE
###############################################

Installation is simple (as root/super-user):

1) Unpack the DEV-RANDOM distribution in a suitable directory, e.g.
	tar -xzf DEVRND3S.tgz

2) Backup your original "kern_random.c" file, e.g.
	cd /sys/kern
	cp kern_random.c kern_random.c.orig
	chmod 444 kern_random.c.orig

3) Copy the replacement "kern_random.c" file into /sys/kern, e.g.
	cp DEVRND3S/kern_random.c /sys/kern

4) Rebuild your Kernel in the usual way, e.g.
	cd /sys/i386/conf/
	config YOUR_KERNEL
	cd ../../compile/YOUR_KERNEL
	make depend && make && make install && reboot

Note: The DEV-RANDOM distribution is supplied with other sources aswell
as the "kern_random.c" file; these files are the module C files. In an
ideal situation they should be part of the Kernel in their original
modular form. The aggregate "kern_random.c" file is used instead for
ease of installation, and also to avoid having to mess around with
the Kernel.

DESIGN
######

There is a tail-comment in the "kern_random.c" file which summarizes
the design.

NOTES
#####

No log messages are produced by the newly installed /dev/[u]random
implementation. If you feel paranoid, write or use a program to read
12e6 bytes from /dev/random and/or /dev/urandom into a file and then
test that file with the DIEHARD test-suite, to verify everything is
working satisfactorily.

This implementation allows the use of interrupts in exactly the same
way as per the original 4.11-RELEASE /dev/[u]random implementation.
Thus, interrupts are Off by default and have to be enabled with the
rndcontrol(8) command.
