<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto, branch libressl-v2.5.1</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v2.5.1</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v2.5.1'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2017-01-31T13:17:21+00:00</updated>
<entry>
<title>LibreSSL : Truncated packet could crash via OOB read</title>
<updated>2017-01-31T13:17:21+00:00</updated>
<author>
<name>inoguchi</name>
<email></email>
</author>
<published>2017-01-31T13:17:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=06ad158da685c16adafadfcff434641236cac37c'/>
<id>urn:sha1:06ad158da685c16adafadfcff434641236cac37c</id>
<content type='text'>
This patch is originally from master branch of OpenSSL.
- 2198b3a crypto/evp: harden AEAD ciphers.
- 8e20499 crypto/evp: harden RC4_MD5 cipher.

ok tom@
</content>
</entry>
<entry>
<title>Document functions returning standard moduli for DH key exchange.</title>
<updated>2017-01-31T05:40:26+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2017-01-31T05:40:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ea175852b3ba110b83d5f1b24af577971174ef1c'/>
<id>urn:sha1:ea175852b3ba110b83d5f1b24af577971174ef1c</id>
<content type='text'>
jsing@ confirmed that these are public and worth documenting.
</content>
</entry>
<entry>
<title>tweak previous;</title>
<updated>2017-01-30T07:51:27+00:00</updated>
<author>
<name>jmc</name>
<email></email>
</author>
<published>2017-01-30T07:51:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fc79a9702f3e2ba18070d95e2524e4a6435c0eba'/>
<id>urn:sha1:fc79a9702f3e2ba18070d95e2524e4a6435c0eba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Document BN_set_flags(3) and BN_get_flags(3).</title>
<updated>2017-01-30T01:29:31+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2017-01-30T01:29:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=19dcc2c9146afbb7e7ee92dd56ef7f469c46c87e'/>
<id>urn:sha1:19dcc2c9146afbb7e7ee92dd56ef7f469c46c87e</id>
<content type='text'>
jsing@ confirmed that these macros are public and worth documenting.
</content>
</entry>
<entry>
<title>Seriously warn against calling BN_init(3), BN_MONT_CTX_init(3),</title>
<updated>2017-01-29T23:41:49+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2017-01-29T23:41:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=26515580f3d95861fda40afc48c3fac1fe3ff762'/>
<id>urn:sha1:26515580f3d95861fda40afc48c3fac1fe3ff762</id>
<content type='text'>
and BN_RECP_CTX_init(3).  They are not only deprecated but so
dangerous that they are almost unusable.  I found these scary
traps while reading the code in order to document BN_set_flags(3).
While here, delete ERR_get_error(3) from SEE ALSO.
</content>
</entry>
<entry>
<title>Send the function codes from the error functions to the bit bucket,</title>
<updated>2017-01-29T17:49:23+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2017-01-29T17:49:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d1f47bd292f36094480caa49ada36b99a69c59b0'/>
<id>urn:sha1:d1f47bd292f36094480caa49ada36b99a69c59b0</id>
<content type='text'>
as was done earlier in libssl. Thanks inoguchi@ for noticing
libssl had more reacharounds into this.
ok jsing@ inoguchi@
</content>
</entry>
<entry>
<title>Hide SSLerr() under #ifndef LIBRESSL_INTERNAL since we shouldn't be</title>
<updated>2017-01-26T12:07:06+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2017-01-26T12:07:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1a96ea530f5a98c5ea5a032e03e2afd29bf0a1dd'/>
<id>urn:sha1:1a96ea530f5a98c5ea5a032e03e2afd29bf0a1dd</id>
<content type='text'>
using it anymore
ok jsing@
</content>
</entry>
<entry>
<title>Document ERR_load_BN_strings(3).</title>
<updated>2017-01-26T04:37:08+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2017-01-26T04:37:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fdf235a2a4a2ffd3c42bc4f501e4a86848af719c'/>
<id>urn:sha1:fdf235a2a4a2ffd3c42bc4f501e4a86848af719c</id>
<content type='text'>
jsing@ confirmed that this function is public and worth documenting.

This page needs much more work, it is outrageously incomplete and
unclear.  For example, it remains unexplained what error strings
are, what "registering" means and what the benefit for the application
is, what happens if it is not done, or what happens if an error
occurs after calling ERR_free_strings(3).  I tried to read the code,
but it is so contorted that i postponed that work.  For example,
it looks like there are hooks for applications to replace the
functions used for registering strings by other, application-supplied
functions, and, of course, there are many levels of macro and
function wrappers.

For now, i only documented the most obvious BUGS.
</content>
</entry>
<entry>
<title>document BN_asc2bn(3);</title>
<updated>2017-01-25T16:12:45+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2017-01-25T16:12:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8663592b37fb4ff99769965286777666cc7f480c'/>
<id>urn:sha1:8663592b37fb4ff99769965286777666cc7f480c</id>
<content type='text'>
jsing@ confirmed that it is a public function worth documenting
</content>
</entry>
<entry>
<title>Construct a BN_gcd_nonct, based on BN_mod_inverse_no_branch, as suggested</title>
<updated>2017-01-25T06:15:44+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2017-01-25T06:15:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f741256ec38e0e3f1664f26f154e27323aa56472'/>
<id>urn:sha1:f741256ec38e0e3f1664f26f154e27323aa56472</id>
<content type='text'>
by Alejandro Cabrera &lt;aldaya@gmail.com&gt; to avoid the possibility of a
sidechannel timing attack during RSA private key generation.

Modify BN_gcd to become not visible under LIBRESSL_INTERNAL and force
the use of the _ct or _nonct versions of the function only within
the library.

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