Log

util-src/crand.c @ 13270:14bbfb2cc8dd default tip

description author age
util: Add compat for prosody module name change to C sources Kim Alvefur Fri, 17 Mar 2023 18:03:07 +0100
util-src: Remove Lua 5.1 compat macros Kim Alvefur Fri, 01 Jul 2022 21:21:21 +0200
util.crand: Reduce scope here too Kim Alvefur Sat, 23 Apr 2022 14:37:43 +0200
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