| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Prepare for 2.12.0.0. librandom revamp. | Laurent Bercot | 2022-04-09 | 1 | -43/+0 |
| | | | | | Signed-off-by: Laurent Bercot <ska@appnovation.com> | ||||
| * | Don't write to /dev/urandom. (It's useless or even harmful.) | Laurent Bercot | 2022-03-27 | 1 | -3/+1 |
| | | |||||
| * | Huge incompatible changes. | Laurent Bercot | 2021-07-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | - Obsolete skalibs/environ.h and skalibs/getpeereid.h removed. - rc4 and md5 removed. - All *_t types renamed to avoid treading on POSIX namespace. - subgetopt() renamed to lgetopt(). - signal functions reworked; skasigaction removed; sig_stack removed - Various functions removed: skaoffsetof(), selfpipe_untrap() - New posixplz function: munmap_void. Signed-off-by: Laurent Bercot <ska@appnovation.com> | ||||
| * | Comment fix (writing to /dev/urandom doesn't speed it up) | Laurent Bercot | 2017-09-27 | 1 | -2/+2 |
| | | |||||
| * | Types fix: librandom, libstdcrypto | Laurent Bercot | 2017-01-21 | 1 | -1/+2 |
| | | |||||
| * | Clean up and modernize librandom. | Laurent Bercot | 2016-10-14 | 1 | -0/+44 |
| Correct random number generation has historically been suprisingly painful to achieve. There was no standard, every system behaved in a subtly different way, and there were a few userland initiatives to get decent randomness, all incompatible of course. The situation is a bit better now, we're heading towards some standardization. The arc4random() series of functions is a good API, and available on a lot of systems - unfortunately not Linux, but on Linux the new getrandom() makes using /dev/random obsolete. So I removed the old crap in librandom, dropped EGD support, dropped dynamic backend selection, made a single API series (random_* instead of goodrandom_* and badrandom_*), added an arc4random backend and a getrandom backend, and defaulted to /dev/urandom backed up by SURF in the worst case. This should be much smaller and logical. However, it's a major API break, so the skarnet.org stack will be changed to adapt. | |||||
