<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libssl/t1_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>2025-12-04T21:16:17+00:00</updated>
<entry>
<title>Hook up X25519MKLEM768 to the TLS 1.3 handshake</title>
<updated>2025-12-04T21:16:17+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2025-12-04T21:16:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=dccd1f43a0c2de3852d9515f57353d756629c97a'/>
<id>urn:sha1:dccd1f43a0c2de3852d9515f57353d756629c97a</id>
<content type='text'>
This does the following:

1) Adds a second key share prediction to the TLS 1.3 handshake.
   We only add one as we are unlikely to want to send more than
   one PQ one, and one classical one and are unlikely to waste
   bytes on a second PQ algorithm (anything that wants something
   else that we support can HRR to get it)

2) Adds X25519MLKEM768 (4588) to our list of supported groups.
   We add this to our preferred client and server key shares for TLS 1.3
   and we now have a separate list for TLS 1.2 which does not do this,
   cleaning up the old "full list" from the comments.

3) Updates the golden magic numbers in the regression tests to allow
   for the above two things changing the handshake, so the regress
   tests pass.

With this you can successfully hybrid PQ with servers and clients
that support it.

ok tb@ kenjiro@
</content>
</entry>
<entry>
<title>zap weird empty added to tls1_ec_nid2group_id() in previous</title>
<updated>2025-05-31T15:17:11+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-05-31T15:17:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2b916937c9e9b1172e15112ecc352c5eac2a0607'/>
<id>urn:sha1:2b916937c9e9b1172e15112ecc352c5eac2a0607</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't use the array index as the group_id</title>
<updated>2025-05-20T05:39:08+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2025-05-20T05:39:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ea07a243e7c72366afbf4d5e54578f68c061e6e7'/>
<id>urn:sha1:ea07a243e7c72366afbf4d5e54578f68c061e6e7</id>
<content type='text'>
This is a precursor to adding new group ids for post quantum
stuff which are up in the 4000 range, so using the array index
as the group id will be silly.  Instead we just add the group
id to the structure and we walk the list to find it.

This should never be a very large list for us, so no need
to do anything cuter than linear search for now.

ok jsing@, joshua@
</content>
</entry>
<entry>
<title>Simplify tls1_check_ec_key()</title>
<updated>2025-01-18T14:17:05+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-01-18T14:17:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9d0a134867a0f5a4df40d59bbd46f54f330d7dea'/>
<id>urn:sha1:9d0a134867a0f5a4df40d59bbd46f54f330d7dea</id>
<content type='text'>
It doesn't need to have optional arguments anymore, so we can pass
in values and don't need NULL checks and dereferencing.

ok jsing
</content>
</entry>
<entry>
<title>Rename grp to group like almost everywhere else</title>
<updated>2025-01-18T13:26:51+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-01-18T13:26:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fe34e5ba8e4247027202c49109acc4f00d2d490b'/>
<id>urn:sha1:fe34e5ba8e4247027202c49109acc4f00d2d490b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove parentheses in return statements</title>
<updated>2025-01-18T13:15:31+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-01-18T13:15:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=45f18356f473233160d5edf71a56297bf53be91e'/>
<id>urn:sha1:45f18356f473233160d5edf71a56297bf53be91e</id>
<content type='text'>
ok cc + sha256
</content>
</entry>
<entry>
<title>Remove two pointless NULL checks</title>
<updated>2025-01-18T13:11:58+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-01-18T13:11:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3e444e4155981c3d065794f0178fdb7a80a5b8e0'/>
<id>urn:sha1:3e444e4155981c3d065794f0178fdb7a80a5b8e0</id>
<content type='text'>
The only caller ensures that the EC_KEY is not NULL and passes the address
of comp_id on its stack, so neither will be NULL.
</content>
</entry>
<entry>
<title>Drop field determination dance</title>
<updated>2025-01-18T13:07:47+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-01-18T13:07:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=557d995104dc9e9a0ab79662c8e3ac488cb2d61c'/>
<id>urn:sha1:557d995104dc9e9a0ab79662c8e3ac488cb2d61c</id>
<content type='text'>
If we get here, we're in a server and have managed to load the cert.
The public key is therefore a point on a built-in curve, and we know
the group is defined over some prime field. Now it is just a matter of
figuring out whether we support the group in libssl.

ok jsing
</content>
</entry>
<entry>
<title>Stop pretending we support arbirary explicit groups</title>
<updated>2025-01-18T13:03:02+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-01-18T13:03:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7d32176cc7f54fda13623751a9e1b1c349bacb1f'/>
<id>urn:sha1:7d32176cc7f54fda13623751a9e1b1c349bacb1f</id>
<content type='text'>
ok jsing
</content>
</entry>
<entry>
<title>Check for negative EVP_CIPHER_CTX_iv_length() return in libssl</title>
<updated>2023-11-18T10:51:09+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-11-18T10:51:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e72e169bcb8d49d81e9db47f226db4349c4012e3'/>
<id>urn:sha1:e72e169bcb8d49d81e9db47f226db4349c4012e3</id>
<content type='text'>
ok beck
</content>
</entry>
</feed>
