Replace the random number generator with an IBAA generator for /dev/random
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 18 Jun 2006 01:34:59 +0000 (01:34 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 18 Jun 2006 01:34:59 +0000 (01:34 +0000)
commitc0b252c353b1d81bf1e38688fbb45de4d1e54ea3
tree4bf40ca86fc57ff0709f0439f76e00de055af5ab
parentb798ccfc8eb9391864e29f883468754c620ba622
Replace the random number generator with an IBAA generator for /dev/random
and a L15 generator for /dev/urandom.

Submitted-by: Robin J Carey
Modified-from-original: Syntax adjusted to DragonFly kernel norms, and I
        integrated the original code into the DragonFly kernel random number
        generator API.  Also added a TSC-based seed on top of nanouptime.
sys/kern/kern_nrandom.c [new file with mode: 0644]