<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/rsa, branch libressl-v2.1.2</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v2.1.2</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v2.1.2'/>
<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>None of these need to include &lt;openssl/rand.h&gt;</title>
<updated>2014-10-18T17:20:40+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-10-18T17:20:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0bad55f54f7132a386746f23ba4f2d106d115563'/>
<id>urn:sha1:0bad55f54f7132a386746f23ba4f2d106d115563</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make sure all error conditions in RSA_padding_add_PKCS1_PSS_mgf1() cause</title>
<updated>2014-07-13T12:53:46+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2014-07-13T12:53:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=084ac7bb2b862c42ba3dc03ead646499ce571431'/>
<id>urn:sha1:084ac7bb2b862c42ba3dc03ead646499ce571431</id>
<content type='text'>
EVP_MD_CTX_cleanup() to be called.
</content>
</entry>
<entry>
<title>if (x) FOO_free(x) -&gt; FOO_free(x).</title>
<updated>2014-07-12T16:03:37+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2014-07-12T16:03:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=068bf464df6ef084067943863d776f59762bfaf0'/>
<id>urn:sha1:068bf464df6ef084067943863d776f59762bfaf0</id>
<content type='text'>
Improves readability, keeps the code smaller so that it is warmer in your
cache.

review &amp; ok deraadt@
</content>
</entry>
<entry>
<title>In RSA_eay_private_encrypt(), correctly return the smaller BN; OpenSSL</title>
<updated>2014-07-11T15:21:51+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2014-07-11T15:21:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=406373e1c997f9483fd931e40033662fbefb65fe'/>
<id>urn:sha1:406373e1c997f9483fd931e40033662fbefb65fe</id>
<content type='text'>
PR #3418 via OpenSSL trunk
</content>
</entry>
<entry>
<title>Remove duplicate 0x for salt len in output; Martin Kaiser via OpenSSL trunk.</title>
<updated>2014-07-11T12:59:10+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2014-07-11T12:59:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=02ec539d99d59a03bacd90aa4e22e084d91830f0'/>
<id>urn:sha1:02ec539d99d59a03bacd90aa4e22e084d91830f0</id>
<content type='text'>
</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>Stop including standard headers via cryptlib.h - pull in the headers that</title>
<updated>2014-07-10T13:58:23+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-07-10T13:58:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c917c683bc93c68fbf4310ac181f7906e76b3c94'/>
<id>urn:sha1:c917c683bc93c68fbf4310ac181f7906e76b3c94</id>
<content type='text'>
are needed in the source files that actually require them.

ok beck@ miod@
</content>
</entry>
<entry>
<title>RSA_setup_blinding() gets a BN with BN_CTX_get(), returns `out of memory'</title>
<updated>2014-07-10T12:36:58+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2014-07-10T12:36:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=01835c580bc891d6c335f7dbe03b98ad207ba4ac'/>
<id>urn:sha1:01835c580bc891d6c335f7dbe03b98ad207ba4ac</id>
<content type='text'>
if it fails, then never uses it anymore, and may invoke a function which
needs more than one BN from the BN_CTX anyway, so this is pointless - remove
the BN_CTX_get() call and the test.

ok jsing
</content>
</entry>
</feed>
