aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/crand.c
Commit message (Collapse)AuthorAgeFilesLines
* util.crand: Remove unneeded castKim Alvefur2017-12-031-1/+1
|
* util.crand: Silence signedness warningKim Alvefur2017-12-031-1/+1
|
* util.crand: Only keep return value of getrandom() as the others don't return ↵Kim Alvefur2017-12-021-14/+6
| | | | partial results
* util.crand: Try getrandom() again until buffer is filledKim Alvefur2017-12-021-5/+15
|
* util.crand: Add comments about definesKim Alvefur2017-12-011-0/+2
|
* util.crand: Apply formatterKim Alvefur2017-12-011-0/+1
|
* util.crand: Reorder includes so system ones are firstKim Alvefur2017-12-011-3/+2
|
* util.crand: Always include stdlib to be sure __GLIBC_PREREQ is definedKim Alvefur2017-12-011-3/+3
|
* util.crand: Build with musl/non-glibc (can't have undefined argument-taking ↵Kim Alvefur2017-04-251-0/+4
| | | | macros?)
* util-src: Specify size of various tables to be allocatedKim Alvefur2017-03-091-1/+1
|
* util.crand: Only include getrandom shiv with glibc older than 2.25Kim Alvefur2017-03-021-1/+6
|
* util.crand: Change argumen names to match some man pageKim Alvefur2017-03-021-2/+2
|
* util.crand: Move comment blockKim Alvefur2017-03-011-4/+4
|
* util.pposix, configure: Move _GNU_SOURCE macro into source filesKim Alvefur2017-03-011-0/+2
|
* util.crand: Clarify that lua_error does not returnKim Alvefur2017-02-251-1/+1
|
* util.crand: Throw error if OpenSSLs RNG is not seededKim Alvefur2017-02-251-4/+6
|
* util.crand: TODOsKim Alvefur2017-01-221-1/+2
|
* util.crand: Comment about getrandomKim Alvefur2017-01-221-1/+4
|
* util.crand: Add comment describing purpose of moduleKim Alvefur2017-01-221-0/+6
|
* util.crand: Update copyright headerKim Alvefur2017-01-221-3/+3
|
* util.crand: Raise hard errorsKim Alvefur2017-01-201-7/+3
|
* util.crand: Remove seedingKim Alvefur2017-01-201-20/+0
|
* util.crand: Let Lua handle allocation, freeing and error handling for bufferKim Alvefur2017-01-201-40/+3
|
* util.crand: Switch to luaL_checkinteger since checkint is deprecated in Lua 5.3Kim Alvefur2017-01-201-1/+2
|
* util-src: Make C modules assert that the Lua runtime matches what it was ↵Kim Alvefur2017-01-081-0/+3
| | | | compiled for
* util.crand: Silence compiler warningKim Alvefur2016-05-251-1/+1
|
* util.crand: Include stdlib.h instead of malloc.h for portability (thanks Tobias)Kim Alvefur2016-02-221-1/+1
|
* util.crand: C binding to one of OpenSSL, Linux getrandom() or OpenBSD ↵Kim Alvefur2016-02-221-0/+156
arc4random() CSPRNG