<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/rand/rand_lib.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>2014-10-22T13:02:04+00:00</updated>
<entry>
<title>Use arc4random_buf() instead of RAND_bytes() or RAND_pseudo_bytes().</title>
<updated>2014-10-22T13:02:04+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-10-22T13:02:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fa457604779ff38b511fdfdae3c6a78664281c22'/>
<id>urn:sha1:fa457604779ff38b511fdfdae3c6a78664281c22</id>
<content type='text'>
arc4random_buf() is guaranteed to always succeed - it is worth noting
that a number of the replaced function calls were already missing return
value checks.

ok deraadt@
</content>
</entry>
<entry>
<title>Only import cryptlib.h in the four source files that actually need it.</title>
<updated>2014-07-11T08:44:49+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-07-11T08:44:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=74e2c009c83ad374bd6acdcfc376a384e25ab007'/>
<id>urn:sha1:74e2c009c83ad374bd6acdcfc376a384e25ab007</id>
<content type='text'>
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.

ok beck@ miod@
</content>
</entry>
<entry>
<title>Explicitly include &lt;openssl/opensslconf.h&gt; in every file that references</title>
<updated>2014-07-10T22:45:58+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-07-10T22:45:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=62348213609ef233110561d1a6ed67ad66df1c7e'/>
<id>urn:sha1:62348213609ef233110561d1a6ed67ad66df1c7e</id>
<content type='text'>
an OPENSSL_NO_* define. This avoids relying on something else pulling it
in for us, plus it fixes several cases where the #ifndef OPENSSL_NO_XYZ is
never going to do anything, since OPENSSL_NO_XYZ will never defined, due
to the fact that opensslconf.h has not been included.

This also includes some miscellaneous sorting/tidying of headers.
</content>
</entry>
<entry>
<title>tags as requested by miod and tedu</title>
<updated>2014-06-12T15:49:31+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2014-06-12T15:49:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=59f4f2c61d71e266d37dd2fc97615b3fd35b4721'/>
<id>urn:sha1:59f4f2c61d71e266d37dd2fc97615b3fd35b4721</id>
<content type='text'>
</content>
</entry>
<entry>
<title>KNF.</title>
<updated>2014-05-24T15:25:23+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-05-24T15:25:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8f0db77541e760bed142b5b55b0061100880e0ad'/>
<id>urn:sha1:8f0db77541e760bed142b5b55b0061100880e0ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>another round of chemo for the RAND code to provide clarity.</title>
<updated>2014-04-18T13:19:03+00:00</updated>
<author>
<name>tedu</name>
<email></email>
</author>
<published>2014-04-18T13:19:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=832462aba45ebae5b73157540ef0383e86cde58a'/>
<id>urn:sha1:832462aba45ebae5b73157540ef0383e86cde58a</id>
<content type='text'>
ok deraadt
</content>
</entry>
<entry>
<title>Replace the old OpenSSL PRNG by direct use of arc4random_buf(), keeping the</title>
<updated>2014-04-15T16:52:50+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2014-04-15T16:52:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7a19a50981d49325d35ae058d54f915cbfa1a027'/>
<id>urn:sha1:7a19a50981d49325d35ae058d54f915cbfa1a027</id>
<content type='text'>
existing RAND interfaces unchanged.

All interfaces allowing external feed or seed of the RNG (either from a file
or a local entropy gathering daemon) are kept for ABI compatibility, but are
no longer do anything.

While the OpenSSL PRNG was required 15+ years ago when many systems lacked
proper entropy collection, things have evolved and one can reasonably assume
it is better to use the kernel (system global) entropy pool rather than trying
to build one's own and having to compensate for thread scheduling...

&lt;RANT&gt;
Whoever thought that RAND_screen(), feeding the PRNG with the contents of the
local workstation's display, under Win32, was a smart idea, ought to be banned
from security programming.
&lt;/RANT&gt;

ok beck@ deraadt@ tedu@
</content>
</entry>
<entry>
<title>Merge conflicts; remove MacOS, Netware, OS/2, VMS and Windows build machinery.</title>
<updated>2014-04-13T15:25:35+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2014-04-13T15:25:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d2b3c9742a7df4ab87384039c99682d1944f66d7'/>
<id>urn:sha1:d2b3c9742a7df4ab87384039c99682d1944f66d7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>resolve conflicts</title>
<updated>2012-10-13T21:25:14+00:00</updated>
<author>
<name>djm</name>
<email></email>
</author>
<published>2012-10-13T21:25:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=942650cdef05a877200cb7aff3a075935a5fd0cd'/>
<id>urn:sha1:942650cdef05a877200cb7aff3a075935a5fd0cd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>resolve conflicts, fix local changes</title>
<updated>2010-10-01T22:59:01+00:00</updated>
<author>
<name>djm</name>
<email></email>
</author>
<published>2010-10-01T22:59:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8922d4bc4a8b8893d72a48deb2cdf58215f98505'/>
<id>urn:sha1:8922d4bc4a8b8893d72a48deb2cdf58215f98505</id>
<content type='text'>
</content>
</entry>
</feed>
