aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/randomdev/randomdev.c
Commit message (Collapse)AuthorAgeFilesLines
* I am guilty of an act of ommission. There is no longer a /dev/urandomMark Murray2000-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. Notes: svn path=/head/; revision=62149
* style(9) fixes from BDE.Mark Murray2000-06-261-1/+1
| | | | | | | We shouldn't use '#include ""', rather '#include<>'. Notes: svn path=/head/; revision=62117
* Fix include for the non-module case.Mark Murray2000-06-251-1/+1
| | | | | | | Thanks-to: SOS Notes: svn path=/head/; revision=62087
* New machine-independant /dev/random driver.Mark Murray2000-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 Notes: svn path=/head/; revision=62053