summaryrefslogtreecommitdiffstats
path: root/sys/modules/random
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2013-10-08 11:05:26 +0000
committerdes <des@FreeBSD.org>2013-10-08 11:05:26 +0000
commit7dad8b80f64fa04622126b49286eec60b14fb990 (patch)
tree3a76eaf5937dae5bf48a986655448c98557092f2 /sys/modules/random
parent9dda6bc99f96dc85a417e718b740a228a4c0d0db (diff)
downloadFreeBSD-src-7dad8b80f64fa04622126b49286eec60b14fb990.zip
FreeBSD-src-7dad8b80f64fa04622126b49286eec60b14fb990.tar.gz
Add YARROW_RNG and FORTUNA_RNG to sys/conf/options.
Add a SYSINIT that forces a reseed during proc0 setup, which happens fairly late in the boot process. Add a RANDOM_DEBUG option which enables some debugging printf()s. Add a new RANDOM_ATTACH entropy source which harvests entropy from the get_cyclecount() delta across each call to a device attach method.
Diffstat (limited to 'sys/modules/random')
-rw-r--r--sys/modules/random/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/random/Makefile b/sys/modules/random/Makefile
index 60b62af..a0c6077 100644
--- a/sys/modules/random/Makefile
+++ b/sys/modules/random/Makefile
@@ -12,7 +12,7 @@ SRCS+= ivy.c
.endif
SRCS+= randomdev_soft.c yarrow.c hash.c
SRCS+= rijndael-alg-fst.c rijndael-api-fst.c sha2.c
-SRCS+= bus_if.h device_if.h vnode_if.h opt_cpu.h
+SRCS+= bus_if.h device_if.h vnode_if.h opt_cpu.h opt_random.h
CFLAGS+= -I${.CURDIR}/../..
OpenPOWER on IntegriCloud