Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Large upgrade to the entropy device; mainly inspired by feedback | markm | 2000-09-10 | 1 | -0/+19 |
| | | | | | | | | | | | | | | | | from many folk. o The reseed process is now a kthread. With SMPng, kthreads are pre-emptive, so the annoying jerkiness of the mouse is gone. o The data structures are protected by mutexes now, not splfoo()/splx(). o The cryptographic routines are broken out into their own subroutines. this facilitates review, and possible replacement if that is ever found necessary. Thanks to: kris, green, peter, jasone, grog, jhb Forgotten to thank: You know who you are; no offense intended. | ||||
* | o Fix a horrible bug where small reads (< 8 bytes) would return the | markm | 2000-07-25 | 1 | -4/+4 |
| | | | | | | | | wrong bytes. o Improve the public interface; use void* instead of char* or u_int64_t to pass arbitrary data around. Submitted by: kris ("horrible bug") | ||||
* | Clean this up with some BDE-inspired fixes. | markm | 2000-07-23 | 1 | -10/+12 |
| | | | | | | | | | | | o Make the comments KNF-compliant. o Use nanotime instead of getnanotime; the manpage lies about the kern.timecounter.method - it has been removed. o Fix the ENTROPYSOURCE const permanently. o Make variable names more consistent. o Make function prototypes more consistent. Some more needs to be done; to follow. | ||||
* | Storing to a pointer is (effectively) atomic; no need to protect this | markm | 2000-07-11 | 1 | -8/+0 |
| | | | | | | | with splhigh(). However, the entropy-harvesting routine needs pretty serious irq-protection, as it is called out of irq handlers etc. Clues given by: bde | ||||
* | Add entropy gathering code. This will work whether the module is | markm | 2000-07-07 | 1 | -0/+81 |
compiled in or loaded. |