util-src/crand.c
Fri, 17 Mar 2023 18:03:07 +0100 Kim Alvefur util: Add compat for prosody module name change to C sources
Fri, 01 Jul 2022 21:21:21 +0200 Kim Alvefur util-src: Remove Lua 5.1 compat macros
Sat, 23 Apr 2022 14:37:43 +0200 Kim Alvefur util.crand: Reduce scope here too
Sun, 03 Dec 2017 15:42:55 +0100 Kim Alvefur util.crand: Return early if a zero bytes are requested
Sun, 03 Dec 2017 15:36:20 +0100 Kim Alvefur util.crand: Throw an error for sizes smaller than 1 byte
Sun, 03 Dec 2017 15:21:12 +0100 Kim Alvefur util.crand: Make it possible to use arc4random on Linux (needs libbsd)
Sun, 03 Dec 2017 15:03:25 +0100 Kim Alvefur util.crand: Use a small buffer on the stack for small pieces of random, should be faster
Sun, 03 Dec 2017 14:14:35 +0100 Kim Alvefur util.crand: Remove unneeded cast
Sun, 03 Dec 2017 14:13:56 +0100 Kim Alvefur util.crand: Silence signedness warning
Sat, 02 Dec 2017 11:11:32 +0100 Kim Alvefur util.crand: Only keep return value of getrandom() as the others don't return partial results
Sat, 02 Dec 2017 10:58:37 +0100 Kim Alvefur util.crand: Try getrandom() again until buffer is filled
Fri, 01 Dec 2017 00:56:11 +0100 Kim Alvefur util.crand: Add comments about defines
Fri, 01 Dec 2017 00:29:25 +0100 Kim Alvefur util.crand: Apply formatter
Fri, 01 Dec 2017 00:28:52 +0100 Kim Alvefur util.crand: Reorder includes so system ones are first
Fri, 01 Dec 2017 00:27:37 +0100 Kim Alvefur util.crand: Always include stdlib to be sure __GLIBC_PREREQ is defined
Tue, 25 Apr 2017 01:35:13 +0200 Kim Alvefur util.crand: Build with musl/non-glibc (can't have undefined argument-taking macros?)
Thu, 09 Mar 2017 01:20:59 +0100 Kim Alvefur util-src: Specify size of various tables to be allocated
Thu, 02 Mar 2017 00:17:34 +0100 Kim Alvefur util.crand: Only include getrandom shiv with glibc older than 2.25
Thu, 02 Mar 2017 00:15:04 +0100 Kim Alvefur util.crand: Change argumen names to match some man page
Wed, 01 Mar 2017 22:39:01 +0100 Kim Alvefur util.crand: Move comment block
Wed, 01 Mar 2017 22:27:11 +0100 Kim Alvefur util.pposix, configure: Move _GNU_SOURCE macro into source files
Sat, 25 Feb 2017 18:12:24 +0100 Kim Alvefur util.crand: Clarify that lua_error does not return
Sat, 25 Feb 2017 17:57:22 +0100 Kim Alvefur util.crand: Throw error if OpenSSLs RNG is not seeded
Sun, 22 Jan 2017 09:55:52 +0100 Kim Alvefur util.crand: TODOs
Sun, 22 Jan 2017 09:55:44 +0100 Kim Alvefur util.crand: Comment about getrandom
Sun, 22 Jan 2017 09:32:33 +0100 Kim Alvefur util.crand: Add comment describing purpose of module
Sun, 22 Jan 2017 09:31:56 +0100 Kim Alvefur util.crand: Update copyright header
Fri, 20 Jan 2017 12:23:55 +0100 Kim Alvefur util.crand: Raise hard errors
Fri, 20 Jan 2017 11:33:31 +0100 Kim Alvefur util.crand: Remove seeding
Fri, 20 Jan 2017 11:52:46 +0100 Kim Alvefur util.crand: Let Lua handle allocation, freeing and error handling for buffer
Fri, 20 Jan 2017 11:41:07 +0100 Kim Alvefur util.crand: Switch to luaL_checkinteger since checkint is deprecated in Lua 5.3
Sun, 08 Jan 2017 14:21:08 +0100 Kim Alvefur util-src: Make C modules assert that the Lua runtime matches what it was compiled for
Wed, 25 May 2016 16:54:43 +0200 Kim Alvefur util.crand: Silence compiler warning
Mon, 22 Feb 2016 22:56:05 +0100 Kim Alvefur util.crand: Include stdlib.h instead of malloc.h for portability (thanks Tobias)
Mon, 22 Feb 2016 18:44:43 +0100 Kim Alvefur util.crand: C binding to one of OpenSSL, Linux getrandom() or OpenBSD arc4random() CSPRNG
less more (0) tip