<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/arc4random, branch master</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=master</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2022-12-26T07:18:53+00:00</updated>
<entry>
<title>spelling fixes; from paul tagliamonte</title>
<updated>2022-12-26T07:18:53+00:00</updated>
<author>
<name>jmc</name>
<email></email>
</author>
<published>2022-12-26T07:18:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2eb7e5ff6bb69760f9dd4a43e7e3520ebb930120'/>
<id>urn:sha1:2eb7e5ff6bb69760f9dd4a43e7e3520ebb930120</id>
<content type='text'>
i removed the arithmetics -&gt; arithmetic changes, as i felt they
were not clearly correct

ok tb
</content>
</entry>
<entry>
<title>For open/openat, if the flags parameter does not contain O_CREAT, the</title>
<updated>2021-10-24T21:24:20+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2021-10-24T21:24:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2cbc009da6303d81a98bd284aae87c1761b472c7'/>
<id>urn:sha1:2cbc009da6303d81a98bd284aae87c1761b472c7</id>
<content type='text'>
3rd (variadic) mode_t parameter is irrelevant.  Many developers in the past
have passed mode_t (0, 044, 0644, or such), which might lead future people
to copy this broken idiom, and perhaps even believe this parameter has some
meaning or implication or application. Delete them all.
This comes out of a conversation where tb@ noticed that a strange (but
intentional) pledge behaviour is to always knock-out high-bits from
mode_t on a number of system calls as a safety factor, and his bewilderment
that this appeared to be happening against valid modes (at least visually),
but no sorry, they are all irrelevant junk.  They could all be 0xdeafbeef.
ok millert
</content>
</entry>
<entry>
<title>Update getentropy on Windows to use Cryptography Next Generation (CNG).</title>
<updated>2020-11-11T10:41:24+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2020-11-11T10:41:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=04553cc77265e9bcf5dc68d4dd6c2881fcb76177'/>
<id>urn:sha1:04553cc77265e9bcf5dc68d4dd6c2881fcb76177</id>
<content type='text'>
wincrypt is deprecated and no longer works with newer Windows environments,
such as in Windows Store apps.
</content>
</entry>
<entry>
<title>make fixed-sized fixed-value mib[] arrays be const</title>
<updated>2020-10-12T22:08:33+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2020-10-12T22:08:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b7e57c0d7a138aac2289904709330d2b2ee7257c'/>
<id>urn:sha1:b7e57c0d7a138aac2289904709330d2b2ee7257c</id>
<content type='text'>
ok guenther tb millert
</content>
</entry>
<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>Using pthread_atfork instead of __register_atfork with uClibc on noMMU</title>
<updated>2019-07-11T10:37:28+00:00</updated>
<author>
<name>inoguchi</name>
<email></email>
</author>
<published>2019-07-11T10:37:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c513fcc21523226bcda18cc239488f0508ef6e37'/>
<id>urn:sha1:c513fcc21523226bcda18cc239488f0508ef6e37</id>
<content type='text'>
uClibc on noMMU doesn't provide __register_atfork().
Reported by redbirdtek on Github issue.
https://github.com/libressl-portable/portable/issues/538

ok bcook@
</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>add iOS support for getentropy</title>
<updated>2016-09-03T15:24:09+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2016-09-03T15:24:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fc45c32b727123a9db48fbc11ff7d90f36199048'/>
<id>urn:sha1:fc45c32b727123a9db48fbc11ff7d90f36199048</id>
<content type='text'>
from Jacob Berkman, ok beck@
</content>
</entry>
</feed>
