<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libssl/ssl_rsa.c, branch OPENBSD_7_9_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-08-14T15:55:54+00:00</updated>
<entry>
<title>revert accidental disabling of ssl_security_cert() in -r1.52</title>
<updated>2025-08-14T15:55:54+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-08-14T15:55:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b300612f52909e5760855ef8e5457cf317908022'/>
<id>urn:sha1:b300612f52909e5760855ef8e5457cf317908022</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a reasonable ML-KEM API for public use.</title>
<updated>2025-08-14T15:48:48+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2025-08-14T15:48:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6452fa9fc6f33dac80ee572764b9fe29a469f8ce'/>
<id>urn:sha1:6452fa9fc6f33dac80ee572764b9fe29a469f8ce</id>
<content type='text'>
Adapt the tests to use this API.

This does not yet make the symbols public in Symbols.list
which will happen shortly with a bump.

This includes some partial rototilling of the non-public
interfaces which will be shortly continued when the internal
code is deduplicated to not have multiple copies for ML-KEM
768 and ML-KEM 1024 (which is just an artifact of unravelling
the boring C++ code).

ok jsing@, tb@
</content>
</entry>
<entry>
<title>Fix two more unchecked EVP_PKEY_assign() calls</title>
<updated>2023-12-30T06:25:56+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-12-30T06:25:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1916f795abf238139e304c8399cf5bf8c07c0da0'/>
<id>urn:sha1:1916f795abf238139e304c8399cf5bf8c07c0da0</id>
<content type='text'>
In SSL{_CTX}_use_RSAPrivateKey() switch from EVP_PKEY_assign_RSA() to
EVP_PKEY_set1_RSA() and hold on to the reference of the the pkey for
the duration of ssl_set_pkey(). Use single exit and other minor style
cleanups.

ok joshua jsing
</content>
</entry>
<entry>
<title>Hide all public symbols in libssl</title>
<updated>2023-07-08T16:40:14+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2023-07-08T16:40:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fce75ad52c1586db1ba9f44c6be85668e7d4a110'/>
<id>urn:sha1:fce75ad52c1586db1ba9f44c6be85668e7d4a110</id>
<content type='text'>
With the guentherizer 9000

ok tb@
</content>
</entry>
<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>Recommit -r1.45 but without error checking EVP_PKEY_copy_parameters()</title>
<updated>2022-08-31T20:49:37+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-08-31T20:49:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=cfb01fc9e5c84ba0076e950fbfe012c2f465258b'/>
<id>urn:sha1:cfb01fc9e5c84ba0076e950fbfe012c2f465258b</id>
<content type='text'>
EVP_PKEY_copy_parameters() will unconditionally fail if the pkey's ameth
has no copy_params(). Obviously this is indistinguishable from actual
failure...

ok jsing
</content>
</entry>
<entry>
<title>Revert r1.46. Causes fireworks in regress.</title>
<updated>2022-08-31T20:20:53+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-08-31T20:20:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a04082fdf3640077106866590450d1c5cc5795e5'/>
<id>urn:sha1:a04082fdf3640077106866590450d1c5cc5795e5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid potential NULL dereference in ssl_set_pkey()</title>
<updated>2022-08-31T06:51:36+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-08-31T06:51:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fcf19dcc8d08bf7dae162a7118c4a7d5468ed29c'/>
<id>urn:sha1:fcf19dcc8d08bf7dae162a7118c4a7d5468ed29c</id>
<content type='text'>
Switch from X509_get_pubkey() to X509_get0_pubkey() to avoid an unnecessary
EVP_PKEY_free(). Check the return values of X509_get0_pubkey() and
EVP_PKEY_copy_parameters(). If the former returns NULL, the latter will
dereference NULL.

CID 25020

ok jsing
</content>
</entry>
<entry>
<title>Rename use_* to ssl_use_* for consistency.</title>
<updated>2022-06-30T09:08:35+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-06-30T09:08:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5af54ac01c8c2159276a9e9fcbe093e06810570d'/>
<id>urn:sha1:5af54ac01c8c2159276a9e9fcbe093e06810570d</id>
<content type='text'>
discussed with jsing
</content>
</entry>
<entry>
<title>Make ssl_cert_add{0,1}_chain_cert() take ssl/ctx</title>
<updated>2022-06-29T21:18:04+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-06-29T21:18:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d89c66a0e16376bd97ebed275b0ca1e27325abb8'/>
<id>urn:sha1:d89c66a0e16376bd97ebed275b0ca1e27325abb8</id>
<content type='text'>
ok beck jsing
</content>
</entry>
</feed>
