freebsd-nq/sys/dev/random
Mark Murray 84d4f509f0 Major speedup to /dev/random and the kernel thread that reseeds it.
There is no more TAILQ fifo to harvest the entropy; instead, there
is a circular buffer of constant size (changeable by macro) that
pretty dramatically improves the speed and fixes potential slowdowns-
by-locking.

Also gone are a slew of malloc(9) and free(9) calls; all harvesting
buffers are static.

All-in-all, this is a good performance improvement.

Thanks-to:	msmith for the circular buffer concept-code.
2000-12-02 18:40:16 +00:00
..
harvest.c Stop explicitly using nanotime(9) and use the new get_cyclecounter(9) 2000-11-25 17:09:01 +00:00
hash.c Fix safety-net code. While technically a bug, I'm delighted to see 2000-11-26 09:58:18 +00:00
hash.h Large upgrade to the entropy device; mainly inspired by feedback 2000-09-10 13:52:19 +00:00
randomdev.c D'uh. The explicit reseed was happening at the wrong security/privelige 2000-11-25 20:08:07 +00:00
yarrow.c Major speedup to /dev/random and the kernel thread that reseeds it. 2000-12-02 18:40:16 +00:00
yarrow.h Major speedup to /dev/random and the kernel thread that reseeds it. 2000-12-02 18:40:16 +00:00