<feed xmlns='http://www.w3.org/2005/Atom'>
<title>skalibs/src/librandom/random_makeseed.c, branch v2.15.1.0</title>
<subtitle>The skarnet.org C programming library</subtitle>
<id>http://git.skarnet.org/cgit/skalibs/atom/src/librandom/random_makeseed.c?h=v2.15.1.0</id>
<link rel='self' href='http://git.skarnet.org/cgit/skalibs/atom/src/librandom/random_makeseed.c?h=v2.15.1.0'/>
<link rel='alternate' type='text/html' href='http://git.skarnet.org/cgit/skalibs/'/>
<updated>2022-04-09T02:28:05Z</updated>
<entry>
<title> Prepare for 2.12.0.0. librandom revamp.</title>
<updated>2022-04-09T02:28:05Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2022-04-09T02:28:05Z</published>
<link rel='alternate' type='text/html' href='http://git.skarnet.org/cgit/skalibs/commit/?id=4e75b40d8a96c5d51490ddea43566fe8e6d4168c'/>
<id>urn:sha1:4e75b40d8a96c5d51490ddea43566fe8e6d4168c</id>
<content type='text'>
Signed-off-by: Laurent Bercot &lt;ska@appnovation.com&gt;
</content>
</entry>
<entry>
<title> Don't write to /dev/urandom. (It's useless or even harmful.)</title>
<updated>2022-03-27T06:46:04Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2022-03-27T06:46:04Z</published>
<link rel='alternate' type='text/html' href='http://git.skarnet.org/cgit/skalibs/commit/?id=73439ad0ff5363ad629086fe04ac44f5569a185e'/>
<id>urn:sha1:73439ad0ff5363ad629086fe04ac44f5569a185e</id>
<content type='text'>
</content>
</entry>
<entry>
<title> Huge incompatible changes.</title>
<updated>2021-07-28T23:45:20Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2021-07-28T23:45:20Z</published>
<link rel='alternate' type='text/html' href='http://git.skarnet.org/cgit/skalibs/commit/?id=9592bfd0dda7c575de07bce2c7a81b8432d845a4'/>
<id>urn:sha1:9592bfd0dda7c575de07bce2c7a81b8432d845a4</id>
<content type='text'>
- Obsolete skalibs/environ.h and skalibs/getpeereid.h removed.
- rc4 and md5 removed.
- All *_t types renamed to avoid treading on POSIX namespace.
- subgetopt() renamed to lgetopt().
- signal functions reworked; skasigaction removed; sig_stack removed
- Various functions removed: skaoffsetof(), selfpipe_untrap()
- New posixplz function: munmap_void.

Signed-off-by: Laurent Bercot &lt;ska@appnovation.com&gt;
</content>
</entry>
<entry>
<title> Comment fix (writing to /dev/urandom doesn't speed it up)</title>
<updated>2017-09-27T11:54:42Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2017-09-27T11:54:42Z</published>
<link rel='alternate' type='text/html' href='http://git.skarnet.org/cgit/skalibs/commit/?id=1728f7ed8e96a03dd6a75c9668d394562ed63a59'/>
<id>urn:sha1:1728f7ed8e96a03dd6a75c9668d394562ed63a59</id>
<content type='text'>
</content>
</entry>
<entry>
<title> Types fix: librandom, libstdcrypto</title>
<updated>2017-01-21T15:46:20Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2017-01-21T15:46:20Z</published>
<link rel='alternate' type='text/html' href='http://git.skarnet.org/cgit/skalibs/commit/?id=2746b131aa482ac17c94bc6b82e58dbcc1b752cf'/>
<id>urn:sha1:2746b131aa482ac17c94bc6b82e58dbcc1b752cf</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='http://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>
