Log

util-src/crand.c @ 13112:b6aaab0846fe

description author age
util: Add compat for prosody module name change to C sources Kim Alvefur 21 months ago
util-src: Remove Lua 5.1 compat macros Kim Alvefur 2022-07-01
util.crand: Reduce scope here too Kim Alvefur 2022-04-23
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
util.crand: Change argumen names to match some man page Kim Alvefur 2017-03-01
util.crand: Move comment block Kim Alvefur 2017-03-01
util.pposix, configure: Move _GNU_SOURCE macro into source files Kim Alvefur 2017-03-01
util.crand: Clarify that lua_error does not return Kim Alvefur 2017-02-25
util.crand: Throw error if OpenSSLs RNG is not seeded Kim Alvefur 2017-02-25
util.crand: TODOs Kim Alvefur 2017-01-22
util.crand: Comment about getrandom Kim Alvefur 2017-01-22
util.crand: Add comment describing purpose of module Kim Alvefur 2017-01-22
util.crand: Update copyright header Kim Alvefur 2017-01-22
util.crand: Raise hard errors Kim Alvefur 2017-01-20
util.crand: Remove seeding Kim Alvefur 2017-01-20
util.crand: Let Lua handle allocation, freeing and error handling for buffer Kim Alvefur 2017-01-20