<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://hg.omfa.de/prosody-hg/</link>
    <language>en-us</language>

    <title>prosody-hg: util-src/crand.c history</title>
    <description>util-src/crand.c revision history</description>
    <item>
    <title>util: Add compat for prosody module name change to C sources</title>
    <link>http://hg.omfa.de/prosody-hg/log/a187600ec7d6/util-src/crand.c</link>
    <description><![CDATA[util: Add compat for prosody module name change to C sources]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 17 Mar 2023 18:03:07 +0100</pubDate>
</item>
<item>
    <title>util-src: Remove Lua 5.1 compat macros</title>
    <link>http://hg.omfa.de/prosody-hg/log/1f6f05a98fcd/util-src/crand.c</link>
    <description><![CDATA[util-src: Remove Lua 5.1 compat macros<br/>
<br/>
Part of #1600]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 01 Jul 2022 21:21:21 +0200</pubDate>
</item>
<item>
    <title>util.crand: Reduce scope here too</title>
    <link>http://hg.omfa.de/prosody-hg/log/80f3123053e2/util-src/crand.c</link>
    <description><![CDATA[util.crand: Reduce scope here too<br/>
<br/>
Same as previous commit]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 23 Apr 2022 14:37:43 +0200</pubDate>
</item>
<item>
    <title>util.crand: Return early if a zero bytes are requested</title>
    <link>http://hg.omfa.de/prosody-hg/log/770f79a9635c/util-src/crand.c</link>
    <description><![CDATA[util.crand: Return early if a zero bytes are requested]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 03 Dec 2017 15:42:55 +0100</pubDate>
</item>
<item>
    <title>util.crand: Throw an error for sizes smaller than 1 byte</title>
    <link>http://hg.omfa.de/prosody-hg/log/b572a708fd41/util-src/crand.c</link>
    <description><![CDATA[util.crand: Throw an error for sizes smaller than 1 byte]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 03 Dec 2017 15:36:20 +0100</pubDate>
</item>
<item>
    <title>util.crand: Make it possible to use arc4random on Linux (needs libbsd)</title>
    <link>http://hg.omfa.de/prosody-hg/log/f516a52f19e8/util-src/crand.c</link>
    <description><![CDATA[util.crand: Make it possible to use arc4random on Linux (needs libbsd)]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 03 Dec 2017 15:21:12 +0100</pubDate>
</item>
<item>
    <title>util.crand: Use a small buffer on the stack for small pieces of random, should be faster</title>
    <link>http://hg.omfa.de/prosody-hg/log/200f4f1b7833/util-src/crand.c</link>
    <description><![CDATA[util.crand: Use a small buffer on the stack for small pieces of random, should be faster]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 03 Dec 2017 15:03:25 +0100</pubDate>
</item>
<item>
    <title>util.crand: Remove unneeded cast</title>
    <link>http://hg.omfa.de/prosody-hg/log/a72898dde1a0/util-src/crand.c</link>
    <description><![CDATA[util.crand: Remove unneeded cast]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 03 Dec 2017 14:14:35 +0100</pubDate>
</item>
<item>
    <title>util.crand: Silence signedness warning</title>
    <link>http://hg.omfa.de/prosody-hg/log/2d3a3d12ec87/util-src/crand.c</link>
    <description><![CDATA[util.crand: Silence signedness warning]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 03 Dec 2017 14:13:56 +0100</pubDate>
</item>
<item>
    <title>util.crand: Only keep return value of getrandom() as the others don't return partial results</title>
    <link>http://hg.omfa.de/prosody-hg/log/adb079840714/util-src/crand.c</link>
    <description><![CDATA[util.crand: Only keep return value of getrandom() as the others don't return partial results]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 02 Dec 2017 11:11:32 +0100</pubDate>
</item>
<item>
    <title>util.crand: Try getrandom() again until buffer is filled</title>
    <link>http://hg.omfa.de/prosody-hg/log/980885ba062c/util-src/crand.c</link>
    <description><![CDATA[util.crand: Try getrandom() again until buffer is filled]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 02 Dec 2017 10:58:37 +0100</pubDate>
</item>
<item>
    <title>util.crand: Add comments about defines</title>
    <link>http://hg.omfa.de/prosody-hg/log/91c220f43826/util-src/crand.c</link>
    <description><![CDATA[util.crand: Add comments about defines]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 01 Dec 2017 00:56:11 +0100</pubDate>
</item>
<item>
    <title>util.crand: Apply formatter</title>
    <link>http://hg.omfa.de/prosody-hg/log/b0a267f77d9e/util-src/crand.c</link>
    <description><![CDATA[util.crand: Apply formatter]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 01 Dec 2017 00:29:25 +0100</pubDate>
</item>
<item>
    <title>util.crand: Reorder includes so system ones are first</title>
    <link>http://hg.omfa.de/prosody-hg/log/65c82a7d0537/util-src/crand.c</link>
    <description><![CDATA[util.crand: Reorder includes so system ones are first]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 01 Dec 2017 00:28:52 +0100</pubDate>
</item>
<item>
    <title>util.crand: Always include stdlib to be sure __GLIBC_PREREQ is defined</title>
    <link>http://hg.omfa.de/prosody-hg/log/6eecf82ccd8e/util-src/crand.c</link>
    <description><![CDATA[util.crand: Always include stdlib to be sure __GLIBC_PREREQ is defined]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 01 Dec 2017 00:27:37 +0100</pubDate>
</item>
<item>
    <title>util.crand: Build with musl/non-glibc (can't have undefined argument-taking macros?)</title>
    <link>http://hg.omfa.de/prosody-hg/log/3e443d6791e6/util-src/crand.c</link>
    <description><![CDATA[util.crand: Build with musl/non-glibc (can't have undefined argument-taking macros?)]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Tue, 25 Apr 2017 01:35:13 +0200</pubDate>
</item>
<item>
    <title>util-src: Specify size of various tables to be allocated</title>
    <link>http://hg.omfa.de/prosody-hg/log/1c6a07606309/util-src/crand.c</link>
    <description><![CDATA[util-src: Specify size of various tables to be allocated]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Thu, 09 Mar 2017 01:20:59 +0100</pubDate>
</item>
<item>
    <title>util.crand: Only include getrandom shiv with glibc older than 2.25</title>
    <link>http://hg.omfa.de/prosody-hg/log/485b9e66fedf/util-src/crand.c</link>
    <description><![CDATA[util.crand: Only include getrandom shiv with glibc older than 2.25]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Thu, 02 Mar 2017 00:17:34 +0100</pubDate>
</item>
<item>
    <title>util.crand: Change argumen names to match some man page</title>
    <link>http://hg.omfa.de/prosody-hg/log/c91ec7689424/util-src/crand.c</link>
    <description><![CDATA[util.crand: Change argumen names to match some man page]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Thu, 02 Mar 2017 00:15:04 +0100</pubDate>
</item>
<item>
    <title>util.crand: Move comment block</title>
    <link>http://hg.omfa.de/prosody-hg/log/6c5e4f24b51e/util-src/crand.c</link>
    <description><![CDATA[util.crand: Move comment block]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Wed, 01 Mar 2017 22:39:01 +0100</pubDate>
</item>
<item>
    <title>util.pposix, configure: Move _GNU_SOURCE macro into source files</title>
    <link>http://hg.omfa.de/prosody-hg/log/b619b85e01aa/util-src/crand.c</link>
    <description><![CDATA[util.pposix, configure: Move _GNU_SOURCE macro into source files]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Wed, 01 Mar 2017 22:27:11 +0100</pubDate>
</item>
<item>
    <title>util.crand: Clarify that lua_error does not return</title>
    <link>http://hg.omfa.de/prosody-hg/log/12e5a54907b6/util-src/crand.c</link>
    <description><![CDATA[util.crand: Clarify that lua_error does not return]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 25 Feb 2017 18:12:24 +0100</pubDate>
</item>
<item>
    <title>util.crand: Throw error if OpenSSLs RNG is not seeded</title>
    <link>http://hg.omfa.de/prosody-hg/log/e3d3ebd417f4/util-src/crand.c</link>
    <description><![CDATA[util.crand: Throw error if OpenSSLs RNG is not seeded]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 25 Feb 2017 17:57:22 +0100</pubDate>
</item>
<item>
    <title>util.crand: TODOs</title>
    <link>http://hg.omfa.de/prosody-hg/log/d02ef0ae94af/util-src/crand.c</link>
    <description><![CDATA[util.crand: TODOs]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 22 Jan 2017 09:55:52 +0100</pubDate>
</item>
<item>
    <title>util.crand: Comment about getrandom</title>
    <link>http://hg.omfa.de/prosody-hg/log/201d0df6cce9/util-src/crand.c</link>
    <description><![CDATA[util.crand: Comment about getrandom]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 22 Jan 2017 09:55:44 +0100</pubDate>
</item>
<item>
    <title>util.crand: Add comment describing purpose of module</title>
    <link>http://hg.omfa.de/prosody-hg/log/b9910a507250/util-src/crand.c</link>
    <description><![CDATA[util.crand: Add comment describing purpose of module]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 22 Jan 2017 09:32:33 +0100</pubDate>
</item>
<item>
    <title>util.crand: Update copyright header</title>
    <link>http://hg.omfa.de/prosody-hg/log/1fb477d19fdd/util-src/crand.c</link>
    <description><![CDATA[util.crand: Update copyright header]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 22 Jan 2017 09:31:56 +0100</pubDate>
</item>
<item>
    <title>util.crand: Raise hard errors</title>
    <link>http://hg.omfa.de/prosody-hg/log/7702ce682427/util-src/crand.c</link>
    <description><![CDATA[util.crand: Raise hard errors]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 20 Jan 2017 12:23:55 +0100</pubDate>
</item>
<item>
    <title>util.crand: Remove seeding</title>
    <link>http://hg.omfa.de/prosody-hg/log/1dfa5847d49e/util-src/crand.c</link>
    <description><![CDATA[util.crand: Remove seeding]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 20 Jan 2017 11:33:31 +0100</pubDate>
</item>
<item>
    <title>util.crand: Let Lua handle allocation, freeing and error handling for buffer</title>
    <link>http://hg.omfa.de/prosody-hg/log/56552733742e/util-src/crand.c</link>
    <description><![CDATA[util.crand: Let Lua handle allocation, freeing and error handling for buffer]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 20 Jan 2017 11:52:46 +0100</pubDate>
</item>
<item>
    <title>util.crand: Switch to luaL_checkinteger since checkint is deprecated in Lua 5.3</title>
    <link>http://hg.omfa.de/prosody-hg/log/9b66ada1487c/util-src/crand.c</link>
    <description><![CDATA[util.crand: Switch to luaL_checkinteger since checkint is deprecated in Lua 5.3]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 20 Jan 2017 11:41:07 +0100</pubDate>
</item>
<item>
    <title>util-src: Make C modules assert that the Lua runtime matches what it was compiled for</title>
    <link>http://hg.omfa.de/prosody-hg/log/54669df178c2/util-src/crand.c</link>
    <description><![CDATA[util-src: Make C modules assert that the Lua runtime matches what it was compiled for]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 08 Jan 2017 14:21:08 +0100</pubDate>
</item>
<item>
    <title>util.crand: Silence compiler warning</title>
    <link>http://hg.omfa.de/prosody-hg/log/4cccaa33b0a1/util-src/crand.c</link>
    <description><![CDATA[util.crand: Silence compiler warning]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Wed, 25 May 2016 16:54:43 +0200</pubDate>
</item>
<item>
    <title>util.crand: Include stdlib.h instead of malloc.h for portability (thanks Tobias)</title>
    <link>http://hg.omfa.de/prosody-hg/log/72839cafdf36/util-src/crand.c</link>
    <description><![CDATA[util.crand: Include stdlib.h instead of malloc.h for portability (thanks Tobias)]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Mon, 22 Feb 2016 22:56:05 +0100</pubDate>
</item>
<item>
    <title>util.crand: C binding to one of OpenSSL, Linux getrandom() or OpenBSD arc4random() CSPRNG</title>
    <link>http://hg.omfa.de/prosody-hg/log/3d2c2f0809ee/util-src/crand.c</link>
    <description><![CDATA[util.crand: C binding to one of OpenSSL, Linux getrandom() or OpenBSD arc4random() CSPRNG]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Mon, 22 Feb 2016 18:44:43 +0100</pubDate>
</item>

  </channel>
</rss>
