<feed xmlns='http://www.w3.org/2005/Atom'>
<title>skalibs/src/librandom, branch v2.4.0.1</title>
<subtitle>The skarnet.org C programming library</subtitle>
<id>https://git.skarnet.org/cgit/skalibs/atom/src/librandom?h=v2.4.0.1</id>
<link rel='self' href='https://git.skarnet.org/cgit/skalibs/atom/src/librandom?h=v2.4.0.1'/>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/'/>
<updated>2016-11-03T10:25:24Z</updated>
<entry>
<title> random_init: do not fail if we can't write to /dev/urandom</title>
<updated>2016-11-03T10:25:24Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2016-11-03T10:25:24Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=495da13c70f50ee5224873a04a47d1f957e3b6f0'/>
<id>urn:sha1:495da13c70f50ee5224873a04a47d1f957e3b6f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title> This one escaped the previous commit: random_init changes</title>
<updated>2016-10-24T02:07:21Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2016-10-24T02:07:21Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=422d91b2b0a2b8b3a8af510cc55b1400c60be303'/>
<id>urn:sha1:422d91b2b0a2b8b3a8af510cc55b1400c60be303</id>
<content type='text'>
</content>
</entry>
<entry>
<title> Better random_uint32 uniformity algorithm</title>
<updated>2016-10-19T01:44:27Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2016-10-19T01:44:27Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=58b993dd48fe140047c326a82dea9ec3055cf334'/>
<id>urn:sha1:58b993dd48fe140047c326a82dea9ec3055cf334</id>
<content type='text'>
</content>
</entry>
<entry>
<title> Fix headers in random_init.c; add a workaround for (pathological) getrandom() without /dev/urandom</title>
<updated>2016-10-16T21:14:00Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2016-10-16T21:14:00Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=8be9590f78d0f7cf04ade6a2ff0bddd365e3fd7c'/>
<id>urn:sha1:8be9590f78d0f7cf04ade6a2ff0bddd365e3fd7c</id>
<content type='text'>
</content>
</entry>
<entry>
<title> More typo fixing</title>
<updated>2016-10-14T17:56:48Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2016-10-14T17:56:48Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=e3f10a8543b88b61cd3b49caf0a7bb3aca8b9172'/>
<id>urn:sha1:e3f10a8543b88b61cd3b49caf0a7bb3aca8b9172</id>
<content type='text'>
</content>
</entry>
<entry>
<title> Add a cast to arc4random_addrandom invocation to make clang happy</title>
<updated>2016-10-14T17:39:55Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2016-10-14T17:39:55Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=3501ef1df11ec63fb4cddbbd4e756f374dd71ae4'/>
<id>urn:sha1:3501ef1df11ec63fb4cddbbd4e756f374dd71ae4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>  Include skalibs/nonposix.h so BSDs can find arc4random</title>
<updated>2016-10-14T17:32:31Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2016-10-14T17:32:31Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=46886111a32cfde5b6bb23622c1f09cf0189dc22'/>
<id>urn:sha1:46886111a32cfde5b6bb23622c1f09cf0189dc22</id>
<content type='text'>
</content>
</entry>
<entry>
<title> Clean up and modernize librandom.</title>
<updated>2016-10-14T17:07:56Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2016-10-14T17:07:56Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=a1933bd1847951b959016f59ee744d1b18a00142'/>
<id>urn:sha1:a1933bd1847951b959016f59ee744d1b18a00142</id>
<content type='text'>
 Correct random number generation has historically been
suprisingly painful to achieve. There was no standard,
every system behaved in a subtly different way, and there
were a few userland initiatives to get decent randomness,
all incompatible of course.
 The situation is a bit better now, we're heading towards
some standardization. The arc4random() series of functions
is a good API, and available on a lot of systems -
unfortunately not Linux, but on Linux the new getrandom()
makes using /dev/random obsolete.

 So I removed the old crap in librandom, dropped EGD support,
dropped dynamic backend selection, made a single API series
(random_* instead of goodrandom_* and badrandom_*), added
an arc4random backend and a getrandom backend, and defaulted
to /dev/urandom backed up by SURF in the worst case. This
should be much smaller and logical. However, it's a major
API break, so the skarnet.org stack will be changed to
adapt.
</content>
</entry>
<entry>
<title> - Add siovec_trunc</title>
<updated>2015-02-05T23:56:14Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2015-02-05T23:56:14Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=153a646667ff5ae7578a6027938524db91c40821'/>
<id>urn:sha1:153a646667ff5ae7578a6027938524db91c40821</id>
<content type='text'>
 - Add openwritevnclose
 - replace buffer_read/write with fd_readsv/writesv
 - add localtmn_from_tain_g
 - refactor cdb_make
 - rewrite buffer_getvall and buffer_putvall, with a bugfix
</content>
</entry>
<entry>
<title> Lots of cosmetic fixes.</title>
<updated>2014-12-20T12:34:14Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2014-12-20T12:34:14Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=0d82edd9f8bebb396a9154d4e1003340dbf6b967'/>
<id>urn:sha1:0d82edd9f8bebb396a9154d4e1003340dbf6b967</id>
<content type='text'>
 sha256 documented.
</content>
</entry>
</feed>
