Log

util-src/crand.c @ 10868:fa06cf7059cd

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