<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libcrypto/arc4random/getentropy_linux.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libcrypto/arc4random/getentropy_linux.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libcrypto/arc4random/getentropy_linux.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-05-17T14:44:20Z</updated>
<entry>
<title>As done everywhere else, use a local version of MINIMUM() and avoid</title>
<updated>2020-05-17T14:44:20Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-05-17T14:44:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=557f50bebc1500345a39cc6f8881a4b155a2959b'/>
<id>urn:sha1:557f50bebc1500345a39cc6f8881a4b155a2959b</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:28Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2018-11-20T08:04:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=03b209d2bddddd6fe333a3c8aabf014de1b406ec'/>
<id>urn:sha1:03b209d2bddddd6fe333a3c8aabf014de1b406ec</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:28Z</updated>
<author>
<name>bcook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2018-03-13T22:53:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e698281d1756730aea0e267a621d18672518ab39'/>
<id>urn:sha1:e698281d1756730aea0e267a621d18672518ab39</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:31Z</updated>
<author>
<name>beck</name>
<email>beck@openbsd.org</email>
</author>
<published>2017-04-29T18:43:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=edb2eeb7da8494998d0073f8aaeb8478cee5e00b'/>
<id>urn:sha1:edb2eeb7da8494998d0073f8aaeb8478cee5e00b</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:21Z</updated>
<author>
<name>tb</name>
<email>tb@openbsd.org</email>
</author>
<published>2016-08-07T03:27:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b8461433ba0ae3a060ab82e618da25ae2f3ba5dd'/>
<id>urn:sha1:b8461433ba0ae3a060ab82e618da25ae2f3ba5dd</id>
<content type='text'>
ok deraadt@
</content>
</entry>
<entry>
<title>fix typo in comment; ok beck</title>
<updated>2016-04-19T20:20:24Z</updated>
<author>
<name>tj</name>
<email>tj@openbsd.org</email>
</author>
<published>2016-04-19T20:20:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2e9828cb3441b8757763d0a3eedf1693ff471763'/>
<id>urn:sha1:2e9828cb3441b8757763d0a3eedf1693ff471763</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unify files further</title>
<updated>2015-09-11T11:52:55Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2015-09-11T11:52:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=044fc755ab8a41e1db871f293b6da2332fa31ad2'/>
<id>urn:sha1:044fc755ab8a41e1db871f293b6da2332fa31ad2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unify versions, so they are easier to diff.</title>
<updated>2015-08-25T17:26:43Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2015-08-25T17:26:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=092b0306084405bbbac0cf79fe62e59790e51b55'/>
<id>urn:sha1:092b0306084405bbbac0cf79fe62e59790e51b55</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove unneeded sys/sysctl.h on linux.</title>
<updated>2015-06-13T02:33:58Z</updated>
<author>
<name>bcook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2015-06-13T02:33:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ca56f3f6841bf723d8b1be709945db0730d67b3e'/>
<id>urn:sha1:ca56f3f6841bf723d8b1be709945db0730d67b3e</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:06Z</updated>
<author>
<name>bcook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2015-04-27T03:37:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3e3a5746bf2e82123111ef7a676cdb9ce1e1ea13'/>
<id>urn:sha1:3e3a5746bf2e82123111ef7a676cdb9ce1e1ea13</id>
<content type='text'>
Include it if we have the sysctl syscall.
</content>
</entry>
</feed>
