<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libssl/s3_cbc.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>Convert s3_cbc.c to opaque EVP_MD_CTX.</title>
<updated>2021-12-09T17:45:49+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-12-09T17:45:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=01e737ff14b2df03b61c60464e78b36006b62a24'/>
<id>urn:sha1:01e737ff14b2df03b61c60464e78b36006b62a24</id>
<content type='text'>
ok inoguchi jsing
</content>
</entry>
<entry>
<title>Make local header inclusion consistent.</title>
<updated>2021-05-16T14:10:43+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2021-05-16T14:10:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1092b11f3cc2b89ff8b43d1ab3d0ceda6218da96'/>
<id>urn:sha1:1092b11f3cc2b89ff8b43d1ab3d0ceda6218da96</id>
<content type='text'>
Consistently include local headers in the same location, using the same
grouping/sorting across all files.
</content>
</entry>
<entry>
<title>Reimplement the TLSv1.2 record handling for the read side.</title>
<updated>2020-10-03T17:35:17+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2020-10-03T17:35:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6e370552a26b5b20bd7e9889016ec9738d8ab6c8'/>
<id>urn:sha1:6e370552a26b5b20bd7e9889016ec9738d8ab6c8</id>
<content type='text'>
This is the next step in replacing the TLSv1.2 record layer.

The existing record handling code does decryption and processing in
place, which is not ideal for various reasons, however it is retained
for now as other code depends on this behaviour. Additionally, CBC
requires special handling to avoid timing oracles - for now the
existing timing safe code is largely retained.

ok beck@ inoguchi@ tb@
</content>
</entry>
<entry>
<title>We inherited the constant time CBC padding removal from BoringSSL, but</title>
<updated>2020-06-19T21:26:40+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2020-06-19T21:26:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d3fc4a3d813db5a52ae85ac61643301a5f27a818'/>
<id>urn:sha1:d3fc4a3d813db5a52ae85ac61643301a5f27a818</id>
<content type='text'>
missed a subsequent fix for an off-by-one in that code.  If the first
byte of a CBC padding of length 255 is mangled, we don't detect that.

Adam Langley's BoringSSL commit 80842bdb44855dd7f1dde64a3fa9f4e782310fc7

Fixes the failing tlsfuzzer lucky 13 test case.

ok beck inoguchi
</content>
</entry>
<entry>
<title>Consistently spell 'unsigned' as 'unsigned int', as style(9) seems</title>
<updated>2020-03-16T15:25:14+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2020-03-16T15:25:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=168e0561df78f7340b3a674c6ffe771fb5b4bbb2'/>
<id>urn:sha1:168e0561df78f7340b3a674c6ffe771fb5b4bbb2</id>
<content type='text'>
to prefer that. No binary change except in d1_srtp.c where the
generated assembly differs only in line numbers (due to a wrapped
long line) and in s3_cbc.c where there is no change in the generated
assembly.

ok inoguchi jsing
</content>
</entry>
<entry>
<title>Stop overloading the record type for padding length.</title>
<updated>2020-03-12T17:09:02+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2020-03-12T17:09:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=090aa8eb50273dd73eaba4ac5362be86b97cd254'/>
<id>urn:sha1:090aa8eb50273dd73eaba4ac5362be86b97cd254</id>
<content type='text'>
Currently the CBC related code stuffs the padding length in the upper bits
of the type field... stop doing that and add a padding_length field to the
record struct instead.

ok inoguchi@ tb@
</content>
</entry>
<entry>
<title>Use internal versions of SSL3_BUFFER, SSL3_RECORD and DTLS1_RECORD_DATA.</title>
<updated>2020-03-12T17:01:53+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2020-03-12T17:01:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=63b0f131cbf0e20ff888516045c6693e8515333f'/>
<id>urn:sha1:63b0f131cbf0e20ff888516045c6693e8515333f</id>
<content type='text'>
SSL3_BUFFER, SSL3_RECORD and DTLS1_RECORD_DATA are currently still in
public headers, even though their usage is internal. This moves to
using _INTERNAL suffixed versions that are in internal headers, which
then allows us to change them without any potential public API fallout.

ok inoguchi@ tb@
</content>
</entry>
<entry>
<title>Move l2n/l2n8 into s3_cbc.c, since this is the only code that uses it.</title>
<updated>2020-02-21T16:07:00+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2020-02-21T16:07:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e173811f7a345de2b1fc719064b6ec1ca1eed9c6'/>
<id>urn:sha1:e173811f7a345de2b1fc719064b6ec1ca1eed9c6</id>
<content type='text'>
ok inoguchi@ tb@
</content>
</entry>
<entry>
<title>Remove now unused code for EVP_CIPH_FLAG_AEAD_CIPHER and EVP_CIPH_GCM_MODE.</title>
<updated>2018-09-08T14:39:41+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2018-09-08T14:39:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=796a6cede5802a1cdee69a9fbb287c26897883f9'/>
<id>urn:sha1:796a6cede5802a1cdee69a9fbb287c26897883f9</id>
<content type='text'>
ok inoguchi@ tb@
</content>
</entry>
</feed>
