<feed xmlns='http://www.w3.org/2005/Atom'>
<title>skalibs/src/librandom/random_init.c, branch v2.5.1.0</title>
<subtitle>The skarnet.org C programming library</subtitle>
<id>https://git.skarnet.org/cgit/skalibs/atom/src/librandom/random_init.c?h=v2.5.1.0</id>
<link rel='self' href='https://git.skarnet.org/cgit/skalibs/atom/src/librandom/random_init.c?h=v2.5.1.0'/>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/'/>
<updated>2017-02-15T17:40:40Z</updated>
<entry>
<title> add arc4random_addrandom sysdep; next batch of types changes.</title>
<updated>2017-02-15T17:40:40Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2017-02-15T17:40:40Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=a896ca2a8c617e5e00ffd5fc9e69331ad754e5b3'/>
<id>urn:sha1:a896ca2a8c617e5e00ffd5fc9e69331ad754e5b3</id>
<content type='text'>
 The library isn't supposed to be functional yet: there are
still a lot of type mismatches.
</content>
</entry>
<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> 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> 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>
</feed>
