Log

util-src/crand.c @ 7824:56552733742e

description author age
util.crand: Let Lua handle allocation, freeing and error handling for buffer Kim Alvefur Fri, 20 Jan 2017 11:52:46 +0100
util.crand: Switch to luaL_checkinteger since checkint is deprecated in Lua 5.3 Kim Alvefur Fri, 20 Jan 2017 11:41:07 +0100
util-src: Make C modules assert that the Lua runtime matches what it was compiled for Kim Alvefur Sun, 08 Jan 2017 14:21:08 +0100
util.crand: Silence compiler warning Kim Alvefur Wed, 25 May 2016 16:54:43 +0200
util.crand: Include stdlib.h instead of malloc.h for portability (thanks Tobias) Kim Alvefur Mon, 22 Feb 2016 22:56:05 +0100
util.crand: C binding to one of OpenSSL, Linux getrandom() or OpenBSD arc4random() CSPRNG Kim Alvefur Mon, 22 Feb 2016 18:44:43 +0100