freebsd-dev/share/examples/kld
Mark Murray f02e47dc1e Snapshot. This passes the build test, but has not yet been finished or debugged.
Contains:

* Refactor the hardware RNG CPU instruction sources to feed into
the software mixer. This is unfinished. The actual harvesting needs
to be sorted out. Modified by me (see below).

* Remove 'frac' parameter from random_harvest(). This was never
used and adds extra code for no good reason.

* Remove device write entropy harvesting. This provided a weak
attack vector, was not very good at bootstrapping the device. To
follow will be a replacement explicit reseed knob.

* Separate out all the RANDOM_PURE sources into separate harvest
entities. This adds some secuity in the case where more than one
is present.

* Review all the code and fix anything obviously messy or inconsistent.
Address som review concerns while I'm here, like rename the pseudo-rng
to 'dummy'.

Submitted by:	Arthur Mesh <arthurmesh@gmail.com> (the first item)
2013-10-04 06:55:06 +00:00
..
cdev Conform style.Makefile(5) and replace = and += with ?=, which lets you to 2010-02-01 16:13:56 +00:00
dyn_sysctl Revert previous commit... 2012-10-10 08:36:38 +00:00
firmware Revert previous commit... 2012-10-10 08:36:38 +00:00
khelp Add an example Khelp module, which will be referenced in the forthcoming Khelp 2011-02-11 07:26:17 +00:00
random_adaptor Snapshot. This passes the build test, but has not yet been finished or debugged. 2013-10-04 06:55:06 +00:00
syscall Fix typo. 2013-07-17 13:13:44 +00:00
Makefile 1) example (partially humorous random_adaptor, that I call "EXAMPLE") 2013-08-24 13:54:56 +00:00