Log

util-src/crand.c @ 11031:57739c591a8c

description author age
util.crand: Return early if a zero bytes are requested Kim Alvefur 2017-12-03
util.crand: Throw an error for sizes smaller than 1 byte Kim Alvefur 2017-12-03
util.crand: Make it possible to use arc4random on Linux (needs libbsd) Kim Alvefur 2017-12-03
util.crand: Use a small buffer on the stack for small pieces of random, should be faster Kim Alvefur 2017-12-03
util.crand: Remove unneeded cast Kim Alvefur 2017-12-03
util.crand: Silence signedness warning Kim Alvefur 2017-12-03
util.crand: Only keep return value of getrandom() as the others don't return partial results Kim Alvefur 2017-12-02
util.crand: Try getrandom() again until buffer is filled Kim Alvefur 2017-12-02
util.crand: Add comments about defines Kim Alvefur 2017-11-30
util.crand: Apply formatter Kim Alvefur 2017-11-30
util.crand: Reorder includes so system ones are first Kim Alvefur 2017-11-30
util.crand: Always include stdlib to be sure __GLIBC_PREREQ is defined Kim Alvefur 2017-11-30
util.crand: Build with musl/non-glibc (can't have undefined argument-taking macros?) Kim Alvefur 2017-04-24
util-src: Specify size of various tables to be allocated Kim Alvefur 2017-03-09
util.crand: Only include getrandom shiv with glibc older than 2.25 Kim Alvefur 2017-03-01