<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/arc4random/getentropy_linux.c, branch OPENBSD_6_8_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_6_8_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_6_8_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2020-05-17T14:44:20+00:00</updated>
<entry>
<title>As done everywhere else, use a local version of MINIMUM() and avoid</title>
<updated>2020-05-17T14:44:20+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2020-05-17T14:44:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=032a35a73bdeb0ea0007bfc5219e6c96db991681'/>
<id>urn:sha1:032a35a73bdeb0ea0007bfc5219e6c96db991681</id>
<content type='text'>
conflict against a potential define min() from some other scope.
</content>
</entry>
<entry>
<title>Saw a mention somewhere a while back that the gotdata() function in</title>
<updated>2018-11-20T08:04:28+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2018-11-20T08:04:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1c9e20cbc776ff1a1ba01d20a3d7ae740718e16e'/>
<id>urn:sha1:1c9e20cbc776ff1a1ba01d20a3d7ae740718e16e</id>
<content type='text'>
here could creates non-uniformity since very short fetches of 0 would
be excluded.  blocks of 0 are just as random as any other data, including
blocks of 4 4 4..  This is a misguided attempt to identify errors from the
entropy churn/gather code doesn't make sense, errors don't happen.
ok bcook
</content>
</entry>
<entry>
<title>ensure SYS_getrandom and GRND_NONBLOCK are both defined before using getrandom(2)</title>
<updated>2018-03-13T22:53:28+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2018-03-13T22:53:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=302371947c6242ab9f7f993a57b4b413756adb5c'/>
<id>urn:sha1:302371947c6242ab9f7f993a57b4b413756adb5c</id>
<content type='text'>
Based on discussion here https://github.com/libressl-portable/openbsd/pull/82
Suggested fix from jsing@
</content>
</entry>
<entry>
<title>Switch Linux getrandom() usage to non-blocking mode, continuing to</title>
<updated>2017-04-29T18:43:31+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2017-04-29T18:43:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=06e58ee3d445df182278c56c23d0bf1aec820070'/>
<id>urn:sha1:06e58ee3d445df182278c56c23d0bf1aec820070</id>
<content type='text'>
use fallback mechanims if unsuccessful.

The design of Linux getrandom is broken.  It has an
uninitialized phase coupled with blocking behaviour, which
is unacceptable from within a library at boot time without
possible recovery.
ok deraadt@ jsing@
</content>
</entry>
<entry>
<title>Update the link for the getentropy(2) manual to man.openbsd.org/</title>
<updated>2016-08-07T03:27:21+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2016-08-07T03:27:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=45a99457661a695d9e6070e26d9383b3a955a536'/>
<id>urn:sha1:45a99457661a695d9e6070e26d9383b3a955a536</id>
<content type='text'>
ok deraadt@
</content>
</entry>
<entry>
<title>fix typo in comment; ok beck</title>
<updated>2016-04-19T20:20:24+00:00</updated>
<author>
<name>tj</name>
<email></email>
</author>
<published>2016-04-19T20:20:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=86631535ec5e92d1d055ad8b03986f6dc52cc4d7'/>
<id>urn:sha1:86631535ec5e92d1d055ad8b03986f6dc52cc4d7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unify files further</title>
<updated>2015-09-11T11:52:55+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2015-09-11T11:52:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2a8f39dde4eb3fc8b492e8c665128c557ff500af'/>
<id>urn:sha1:2a8f39dde4eb3fc8b492e8c665128c557ff500af</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unify versions, so they are easier to diff.</title>
<updated>2015-08-25T17:26:43+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2015-08-25T17:26:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fc3d3d60211a42640c6c2273a1d4edf9901f1492'/>
<id>urn:sha1:fc3d3d60211a42640c6c2273a1d4edf9901f1492</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove unneeded sys/sysctl.h on linux.</title>
<updated>2015-06-13T02:33:58+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2015-06-13T02:33:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7046960ffae4141275822862cb7065584b59d3ae'/>
<id>urn:sha1:7046960ffae4141275822862cb7065584b59d3ae</id>
<content type='text'>
This only provides the sysctl wrapper in glibc, which we do not use and is not available in other libc implementations for Linux. Thanks to ncopa from github.
</content>
</entry>
<entry>
<title>Not all Linux libc's include linux/sysctl.h in sys/sysctl.h.</title>
<updated>2015-04-27T03:37:06+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2015-04-27T03:37:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=29b3e8caf044d209b7dcfe76059033f1e5174a65'/>
<id>urn:sha1:29b3e8caf044d209b7dcfe76059033f1e5174a65</id>
<content type='text'>
Include it if we have the sysctl syscall.
</content>
</entry>
</feed>
