Log

util-src/crand.c @ 9266:c5267f5fd6e6

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
util.crand: Try getrandom() again until buffer is filled Kim Alvefur Sat, 02 Dec 2017 10:58:37 +0100
util.crand: Add comments about defines Kim Alvefur Fri, 01 Dec 2017 00:56:11 +0100
util.crand: Apply formatter Kim Alvefur Fri, 01 Dec 2017 00:29:25 +0100
util.crand: Reorder includes so system ones are first Kim Alvefur Fri, 01 Dec 2017 00:28:52 +0100
util.crand: Always include stdlib to be sure __GLIBC_PREREQ is defined Kim Alvefur Fri, 01 Dec 2017 00:27:37 +0100
util.crand: Build with musl/non-glibc (can't have undefined argument-taking macros?) Kim Alvefur Tue, 25 Apr 2017 01:35:13 +0200
util-src: Specify size of various tables to be allocated Kim Alvefur Thu, 09 Mar 2017 01:20:59 +0100
util.crand: Only include getrandom shiv with glibc older than 2.25 Kim Alvefur Thu, 02 Mar 2017 00:17:34 +0100