freebsd-nq/sys/dev/random
David E. O'Brien 5711939b63 * Add random_adaptors.[ch] which is basically a store of random_adaptor's.
random_adaptor is basically an adapter that plugs in to random(4).
  random_adaptor can only be plugged in to random(4) very early in bootup.
  Unplugging random_adaptor from random(4) is not supported, and is probably a
  bad idea anyway, due to potential loss of entropy pools.
  We currently have 3 random_adaptors:
  + yarrow
  + rdrand (ivy.c)
  + nehemeiah

* Remove platform dependent logic from probe.c, and move it into
  corresponding registration routines of each random_adaptor provider.
  probe.c doesn't do anything other than picking a specific random_adaptor
  from a list of registered ones.

* If the kernel doesn't have any random_adaptor adapters present then the
  creation of /dev/random is postponed until next random_adaptor is kldload'ed.

* Fix randomdev_soft.c to refer to its own random_adaptor, instead of a
  system wide one.

Submitted by: arthurmesh@gmail.com, obrien
Obtained from: Juniper Networks
Reviewed by: so (des)
2013-08-09 15:31:50 +00:00
..
harvest.c Generate a warning if the kernel's arc4random() is seeded with bogus entropy. 2012-01-16 20:18:10 +00:00
hash.c
hash.h
ivy.c * Add random_adaptors.[ch] which is basically a store of random_adaptor's. 2013-08-09 15:31:50 +00:00
nehemiah.c * Add random_adaptors.[ch] which is basically a store of random_adaptor's. 2013-08-09 15:31:50 +00:00
probe.c * Add random_adaptors.[ch] which is basically a store of random_adaptor's. 2013-08-09 15:31:50 +00:00
random_adaptors.c * Add random_adaptors.[ch] which is basically a store of random_adaptor's. 2013-08-09 15:31:50 +00:00
random_adaptors.h * Add random_adaptors.[ch] which is basically a store of random_adaptor's. 2013-08-09 15:31:50 +00:00
randomdev_soft.c * Add random_adaptors.[ch] which is basically a store of random_adaptor's. 2013-08-09 15:31:50 +00:00
randomdev_soft.h * Add random_adaptors.[ch] which is basically a store of random_adaptor's. 2013-08-09 15:31:50 +00:00
randomdev.c * Add random_adaptors.[ch] which is basically a store of random_adaptor's. 2013-08-09 15:31:50 +00:00
randomdev.h * Add random_adaptors.[ch] which is basically a store of random_adaptor's. 2013-08-09 15:31:50 +00:00
yarrow.c * Add random_adaptors.[ch] which is basically a store of random_adaptor's. 2013-08-09 15:31:50 +00:00
yarrow.h