Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-03-13 | More superflous headers cleanup and tiny fixes | Laurent Bercot | |
2017-02-21 | Types change: big pass on libstddjb and libunixonacid | Laurent Bercot | |
libdatastruct still missing, library still not functional | |||
2017-02-15 | add arc4random_addrandom sysdep; next batch of types changes. | Laurent Bercot | |
The library isn't supposed to be functional yet: there are still a lot of type mismatches. | |||
2017-01-21 | Types fix: librandom, libstdcrypto | Laurent Bercot | |
2016-12-05 | Also fix actual random_string compilation with musl and getrandom()... | Laurent Bercot | |
2016-11-03 | random_init: do not fail if we can't write to /dev/urandom | Laurent Bercot | |
2016-10-24 | This one escaped the previous commit: random_init changes | Laurent Bercot | |
2016-10-19 | Better random_uint32 uniformity algorithm | Laurent Bercot | |
2016-10-16 | Fix headers in random_init.c; add a workaround for (pathological) ↵ | Laurent Bercot | |
getrandom() without /dev/urandom | |||
2016-10-14 | More typo fixing | Laurent Bercot | |
2016-10-14 | Add a cast to arc4random_addrandom invocation to make clang happy | Laurent Bercot | |
2016-10-14 | Include skalibs/nonposix.h so BSDs can find arc4random | Laurent Bercot | |
2016-10-14 | Clean up and modernize librandom. | Laurent Bercot | |
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. | |||
2015-02-05 | - Add siovec_trunc | Laurent Bercot | |
- Add openwritevnclose - replace buffer_read/write with fd_readsv/writesv - add localtmn_from_tain_g - refactor cdb_make - rewrite buffer_getvall and buffer_putvall, with a bugfix | |||
2014-12-20 | Lots of cosmetic fixes. | Laurent Bercot | |
sha256 documented. | |||
2014-09-18 | initial commit with rc for skalibs-2.0.0.0 | Laurent Bercot | |