| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Prepare for 2.12.0.0. librandom revamp. | Laurent Bercot | 2022-04-09 | 1 | -72/+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 | -4/+0 |
| | | |||||
| * | Don't touch /dev/urandom when getrandom() exists | Laurent Bercot | 2021-01-15 | 1 | -9/+8 |
| | | |||||
| * | Fix iobufferk_init on recent Linux; remove last superfluous coe | Laurent Bercot | 2020-12-04 | 1 | -13/+5 |
| | | |||||
| * | Add egidingroups sysdeps, change fd_close() to void and saving errno, ↵ | Laurent Bercot | 2017-07-16 | 1 | -2/+0 |
| | | | | | propagate changes | ||||
| * | add arc4random_addrandom sysdep; next batch of types changes. | Laurent Bercot | 2017-02-15 | 1 | -0/+2 |
| | | | | | | The library isn't supposed to be functional yet: there are still a lot of type mismatches. | ||||
| * | random_init: do not fail if we can't write to /dev/urandom | Laurent Bercot | 2016-11-03 | 1 | -4/+3 |
| | | |||||
| * | This one escaped the previous commit: random_init changes | Laurent Bercot | 2016-10-24 | 1 | -10/+14 |
| | | |||||
| * | Fix headers in random_init.c; add a workaround for (pathological) ↵ | Laurent Bercot | 2016-10-16 | 1 | -0/+6 |
| | | | | | getrandom() without /dev/urandom | ||||
| * | Add a cast to arc4random_addrandom invocation to make clang happy | Laurent Bercot | 2016-10-14 | 1 | -1/+1 |
| | | |||||
| * | Include skalibs/nonposix.h so BSDs can find arc4random | Laurent Bercot | 2016-10-14 | 1 | -0/+1 |
| | | |||||
| * | Clean up and modernize librandom. | Laurent Bercot | 2016-10-14 | 1 | -0/+75 |
| 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. | |||||
