summaryrefslogtreecommitdiffstats
path: root/sys/dev/random/randomdev.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix bug with a vraiable that needs to be per-process, not static;markm2000-07-091-8/+12
| | | | | | fix formatting of long macros. Pointed out by: bde
* Add entropy gathering code. This will work whether the module ismarkm2000-07-071-31/+31
| | | | compiled in or loaded.
* Staticize a variable.markm2000-06-281-1/+1
| | | | | | | This fixes the case where linking randomdev into the kernel statically can cause panics at shutdown time. Reported by: sos
* I am guilty of an act of ommission. There is no longer a /dev/urandommarkm2000-06-271-1/+6
| | | | | | | | | | device with Yarrow, and although I coded for that in dev/MAKEDEV, I forgot to _tell_ folks. This commit adds back the /dev/urandom device (as a duplicate) of /dev/random, until such time as it can be properly announced. This will help the openssl users quite a lot.
* style(9) fixes from BDE.markm2000-06-261-1/+1
| | | | We shouldn't use '#include ""', rather '#include<>'.
* Fix include for the non-module case.markm2000-06-251-1/+1
| | | | Thanks-to: SOS
* New machine-independant /dev/random driver.markm2000-06-251-0/+145
This is work-in-progress, and the entropy-gathering routines are not yet present. As such, this should be viewed as a pretty reasonable PRNG with _ABSOLUTELY_NO_ security!! Entropy gathering will be the subject of ongoing work. This is written as a module, and as such is unloadable, but there is no refcounting done. I would like to use something like device_busy(9) to achieve this (eventually). Lots of useful ideas from: bde, phk, Jeroen van Gelderen Reviewed by: dfr
OpenPOWER on IntegriCloud