summaryrefslogtreecommitdiffstats
path: root/sys/sys/random.h
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/sys/random.h
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/sys/random.h')
-rw-r--r--sys/sys/random.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/random.h b/sys/sys/random.h
index 1ccad3a..68bb262 100644
--- a/sys/sys/random.h
+++ b/sys/sys/random.h
@@ -46,6 +46,7 @@ enum esource {
RANDOM_NET_ETHER,
RANDOM_NET_NG,
RANDOM_INTERRUPT,
+ RANDOM_ATTACH,
RANDOM_SWI,
RANDOM_PURE_OCTEON,
RANDOM_PURE_SAFE,
OpenPOWER on IntegriCloud