Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | In the extremely miniscule chance that read_random returns <= 0, don't try | dan | 1999-11-29 | 1 | -2/+6 |
| | | | | and use that return code as a modulus (panics are bad, mmmkay?) | ||||
* | Address the concerns of the ``randomness'' of the initial PRNG. Now, we | dan | 1999-11-28 | 1 | -14/+32 |
| | | | | | | | use bits from /dev/random to stir the S-box. Also add an internal counter to keep the S-box stirred on a regular basis. Reviewed by: msmith | ||||
* | Introduce OpenBSD-like Random PIDs. Controlled by a sysctl knob | dan | 1999-11-28 | 1 | -0/+89 |
(kern.randompid), which is currently defaulted off. Use ARC4 (RC4) for our random number generation, which will not get me executed for violating crypto laws; a Good Thing(tm). Reviewed and Approved by: bde, imp |