<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/evp/evp.h, 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-07-02T06:36:52+00:00</updated>
<entry>
<title>Const correct EVP_PKEY_get{0,1}_{DH,DSA,EC_KEY,RSA}()</title>
<updated>2025-07-02T06:36:52+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-07-02T06:36:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ee8028bd119b3e4cd917dc91bde28658b6256b9f'/>
<id>urn:sha1:ee8028bd119b3e4cd917dc91bde28658b6256b9f</id>
<content type='text'>
These are safe to call concurrently and they don't modify the memory
region pointed to by the pkey - they only bump the refcount of the
key hanging off of it. The returned "legacy" key has to be handled with
care in threaded constexts, so it is handed back as non-const. This also
matches what EVP_PKEY_get0() always had.

This way our signature is identical to BoringSSL's and doesn't cause
compiler warnings in code that overuses const because one of the many
API incoherencies added by OpenSSL 3 was to turn get0 into a function
that takes and returns const while leaving get1 as it was.

dlg agrees
ok kenjiro
</content>
</entry>
<entry>
<title>Nuke the whrlpool (named after the galaxy) from orbit</title>
<updated>2024-08-31T10:38:49+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-08-31T10:38:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=74a335fca70cbc1c69a8939c41ad12d0a6414a99'/>
<id>urn:sha1:74a335fca70cbc1c69a8939c41ad12d0a6414a99</id>
<content type='text'>
It's just gross. Only used by a popular disk encryption utility on an
all-too-popular OS one or two decades back.

ok beck jsing
</content>
</entry>
<entry>
<title>Remove EVP_PKEY_*check again</title>
<updated>2024-08-31T09:14:21+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-08-31T09:14:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4d0ecb9ca6915541794e3cc736907b89e9a1dd6c'/>
<id>urn:sha1:4d0ecb9ca6915541794e3cc736907b89e9a1dd6c</id>
<content type='text'>
This API turned out to be a really bad idea. OpenSSL 3 extended it, with
the result that basically every key type had its own DoS issues fixed in
a recent security release. We eschewed these by having some upper bounds
that kick in when keys get insanely large.

Initially added on tobhe's request who fortunately never used it in iked,
this was picked up only by ruby/openssl (one of the rare projects doing
proper configure checks rather than branching on VERSION defines) and of
course xca, since it uses everything it can. So it was easy to get rid of
this again.

ok beck jsing
</content>
</entry>
<entry>
<title>Add EVP_PKEY_TLS1_PRF as alias for NID_tls1_prf</title>
<updated>2024-07-09T16:15:37+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-07-09T16:15:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=75546869497f7c0b969d06d1b13812a57f0ecc8d'/>
<id>urn:sha1:75546869497f7c0b969d06d1b13812a57f0ecc8d</id>
<content type='text'>
ok jsing
</content>
</entry>
<entry>
<title>Delete a few more GOST remnants</title>
<updated>2024-04-14T14:14:14+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-04-14T14:14:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ba8aabd35ad495048ba4bbac4b9eb5123d8ccc40'/>
<id>urn:sha1:ba8aabd35ad495048ba4bbac4b9eb5123d8ccc40</id>
<content type='text'>
When I unifdefed GOST support, the tree wasn't fully unlocked, so I didn't
want to touch a public header. All this code is in #ifndef OPENSSL_NO_GOST,
which we define.

ok jsing
</content>
</entry>
<entry>
<title>Hide deprecated functions in evp.h</title>
<updated>2024-04-10T15:00:38+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2024-04-10T15:00:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=20ec75270d82cdbe18bc78b00516a72ae16b122e'/>
<id>urn:sha1:20ec75270d82cdbe18bc78b00516a72ae16b122e</id>
<content type='text'>
use LCRYPTO_UNUSED and remove the LIBRESSL_INTERNAL guard around them.

ok tb@
</content>
</entry>
<entry>
<title>Garbage collect CUSTOM_KEY_LENGTH/SET_KEY_LENGTH</title>
<updated>2024-03-02T10:21:12+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-02T10:21:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=474387b306decca4ad18d10dde947d4e106601e7'/>
<id>urn:sha1:474387b306decca4ad18d10dde947d4e106601e7</id>
<content type='text'>
These are unused defines that used to add unwanted complications in
EVP_CIPHER_CTX_set_key_lenght().

ok jsing
</content>
</entry>
<entry>
<title>Remove more PBE stuff from the public API</title>
<updated>2024-03-02T10:20:27+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-02T10:20:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=207b3a197be2d83ff1333f7fa2dccd6d5271b120'/>
<id>urn:sha1:207b3a197be2d83ff1333f7fa2dccd6d5271b120</id>
<content type='text'>
This is still needed internally for CMS and its predecessors. This
removal will enable disentangling some of its innards.

ok jsing
</content>
</entry>
<entry>
<title>Remove RC4-HMAC-MD5 and AES-{128,256}-CBC-HMAC-SHA-1</title>
<updated>2024-03-02T10:13:13+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-02T10:13:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=feacafd961cf1e2403e9dcb6c3f6a0722730e87d'/>
<id>urn:sha1:feacafd961cf1e2403e9dcb6c3f6a0722730e87d</id>
<content type='text'>
"Stitched" mode AEADs were removed from libssl a long time ago. Nothing
uses these CIPHERs anymore.

ok jsing
</content>
</entry>
<entry>
<title>Make legacy cipher methods internal</title>
<updated>2024-03-02T10:08:29+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-02T10:08:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6952f7a4dea03a42ca5c0da4f3344dd7ddaf041e'/>
<id>urn:sha1:6952f7a4dea03a42ca5c0da4f3344dd7ddaf041e</id>
<content type='text'>
These are ASN.1 handlers for CIPHERs, still used by CMS and its
predecessors. They should never have been public.

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