freebsd-nq/sys/dev/random
Mark Murray 0887c8c110 Overhaul the entropy device:
o Each source gets its own queue, which is a FIFO, not a ring buffer.
  The FIFOs are implemented with the sys/queue.h macros. The separation
  is so that a low entropy/high rate source can't swamp the harvester
  with low-grade entropy and destroy the reseeds.

o Each FIFO is limited to 256 (set as a macro, so adjustable) events
  queueable. Full FIFOs are ignored by the harvester. This is to
  prevent memory wastage, and helps to keep the kernel thread CPU
  usage within reasonable limits.

o There is no need to break up the event harvesting into ${burst}
  sized chunks, so retire that feature.

o Break the device away from its roots with the memory device, and
  allow it to get its major number automagically.
2003-11-17 23:02:21 +00:00
..
harvest.c Overhaul the entropy device: 2003-11-17 23:02:21 +00:00
hash.c Overhaul the entropy device: 2003-11-17 23:02:21 +00:00
hash.h Upgrade the random device to use a "real" hash instead of building 2002-07-15 13:58:35 +00:00
randomdev.c Overhaul the entropy device: 2003-11-17 23:02:21 +00:00
randomdev.h Overhaul the entropy device: 2003-11-17 23:02:21 +00:00
yarrow.c Overhaul the entropy device: 2003-11-17 23:02:21 +00:00
yarrow.h Staticise the random_state array. 2002-01-10 00:09:21 +00:00