Log

util-src/crand.c @ 10938:a5b8ae066688

description author age
util.crand: Return early if a zero bytes are requested Kim Alvefur Sun, 03 Dec 2017 15:42:55 +0100
util.crand: Throw an error for sizes smaller than 1 byte Kim Alvefur Sun, 03 Dec 2017 15:36:20 +0100
util.crand: Make it possible to use arc4random on Linux (needs libbsd) Kim Alvefur Sun, 03 Dec 2017 15:21:12 +0100
util.crand: Use a small buffer on the stack for small pieces of random, should be faster Kim Alvefur Sun, 03 Dec 2017 15:03:25 +0100
util.crand: Remove unneeded cast Kim Alvefur Sun, 03 Dec 2017 14:14:35 +0100
util.crand: Silence signedness warning Kim Alvefur Sun, 03 Dec 2017 14:13:56 +0100
util.crand: Only keep return value of getrandom() as the others don't return partial results Kim Alvefur Sat, 02 Dec 2017 11:11:32 +0100