Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Recouple arc4random(9) to the entropy device. This works whether the | markm | 2000-12-02 | 1 | -2/+4 |
| | | | | | | | entropy device is loaded or not. If the entropy device is NOT loaded, the the quality of perturbations supplied by this will suffer. | ||||
* | Back out previous revision now that sys/random.h is properly fixed. | jhb | 2000-09-11 | 1 | -2/+0 |
| | |||||
* | Add #include's of sys/proc.h and sys/param.h to silence a warning. | jhb | 2000-09-11 | 1 | -0/+2 |
| | |||||
* | Comment out unavailable call. This needs to be revisited when the entropy | markm | 2000-06-25 | 1 | -3/+4 |
| | | | | | device is complete. Reviewed by: dfr | ||||
* | 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 |