<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libssl/tls12_lib.c, branch OPENBSD_7_9</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2022-11-26T16:08:57+00:00</updated>
<entry>
<title>Make internal header file names consistent</title>
<updated>2022-11-26T16:08:57+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-11-26T16:08:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=81d98bf600a381a625eb11b39a725b08c0ba547f'/>
<id>urn:sha1:81d98bf600a381a625eb11b39a725b08c0ba547f</id>
<content type='text'>
Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names
used for internal headers. Move all these headers we inherited from
OpenSSL to *_local.h, reserving the name *_internal.h for our own code.
Similarly, move dtls_locl.h and ssl_locl.h to dtls_local and ssl_local.h.
constant_time_locl.h is moved to constant_time.h since it's special.

Adjust all .c files in libcrypto, libssl and regress.

The diff is mechanical with the exception of tls13_quic.c, where
#include &lt;ssl_locl.h&gt; was fixed manually.

discussed with jsing,
no objection bcook
</content>
</entry>
<entry>
<title>The master_key_length can no longer be &lt; 0</title>
<updated>2022-06-07T17:19:09+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-06-07T17:19:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9c9246a8f96c1fe62c0f56f746ef2231681f5eb2'/>
<id>urn:sha1:9c9246a8f96c1fe62c0f56f746ef2231681f5eb2</id>
<content type='text'>
ok jsing
</content>
</entry>
<entry>
<title>Bye bye S3I.</title>
<updated>2022-02-05T14:54:10+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-02-05T14:54:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a463011117e88ea3125fb580b8c6c60d68722651'/>
<id>urn:sha1:a463011117e88ea3125fb580b8c6c60d68722651</id>
<content type='text'>
S3I has served us well, however now that libssl is fully opaque it is time
to say goodbye. Aside from removing the calloc/free/memset, the rest is
mechanical sed.

ok inoguchi@ tb@
</content>
</entry>
<entry>
<title>Harden tls12_finished_verify_data() by checking master key length.</title>
<updated>2021-05-02T15:57:29+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2021-05-02T15:57:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=95894891643b71343cea462391dd9b572d549079'/>
<id>urn:sha1:95894891643b71343cea462391dd9b572d549079</id>
<content type='text'>
Require master key length to be greater than zero if we're asked to derive
verify data for a finished or peer finished message.

ok tb@
</content>
</entry>
<entry>
<title>Clean up and harden TLSv1.2 master key derivation.</title>
<updated>2021-04-30T19:26:45+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2021-04-30T19:26:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=17bb84e0c57715e08a729de5661c946f0938d11c'/>
<id>urn:sha1:17bb84e0c57715e08a729de5661c946f0938d11c</id>
<content type='text'>
The master key and its length are only stored in one location, so it makes
no sense to handle these outside of the derivation function (the current
'out' argument is unused). This simplifies the various call sites.

If derivation fails for some reason, fail hard rather than continuing on
and hoping that something deals with this correctly later.

ok inoguchi@ tb@
</content>
</entry>
<entry>
<title>Clean up derivation of finished/peer finished.</title>
<updated>2021-04-25T13:15:23+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2021-04-25T13:15:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8b55d917f6299f185307b9010616350e6d6a3d93'/>
<id>urn:sha1:8b55d917f6299f185307b9010616350e6d6a3d93</id>
<content type='text'>
Make this process more readable by having specific client/server functions,
calling the correct one based on s-&gt;server. This allows to remove various
SSL_ST_ACCEPT/SSL_ST_CONNECT checks, along with duplicate code.

ok inoguchi@ tb@
</content>
</entry>
</feed>
