<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/evp/evp_digest.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-05-10T05:54:39+00:00</updated>
<entry>
<title>Use err_local.h rather than err.h in most places</title>
<updated>2025-05-10T05:54:39+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-05-10T05:54:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=41e8f99dd1625a9f0c80ce9d4383e95b18e85709'/>
<id>urn:sha1:41e8f99dd1625a9f0c80ce9d4383e95b18e85709</id>
<content type='text'>
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>Hide public symbols in evp.h</title>
<updated>2024-04-09T13:52:42+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2024-04-09T13:52:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9835bb3c82adc630df1f3aaa7dfbf7f0506b0bc4'/>
<id>urn:sha1:9835bb3c82adc630df1f3aaa7dfbf7f0506b0bc4</id>
<content type='text'>
largely mechanically done by the guentherizer 9000

ok tb@
</content>
</entry>
<entry>
<title>Remove EVP_MD_meth* again</title>
<updated>2024-03-02T09:59:56+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-02T09:59:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1894c9da2aed32c69be2c297ff92c86f701c6ddd'/>
<id>urn:sha1:1894c9da2aed32c69be2c297ff92c86f701c6ddd</id>
<content type='text'>
Erlang upstream disabled the otp_test_engine for LibreSSL &gt;= 3.5 without
explanation. It was the only reason we added this garbage API in the first
place. Meanwhile libfido2 started using it for a mock up of OpenSSL 3's
broken fetch design with old API. This is pointless, so all this garbage
goes away again (in particular we can remove the absolutely horrifying
EVP_MD_meth_set_app_datasize() again).

ok jsing
</content>
</entry>
<entry>
<title>Fix signature and semantics of EVP_{CIPHER,MD}_CTX_init()</title>
<updated>2024-03-02T09:55:30+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-02T09:55:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4083c1a64fc21730cb59ac92344eaeeda5fd688b'/>
<id>urn:sha1:4083c1a64fc21730cb59ac92344eaeeda5fd688b</id>
<content type='text'>
When the EVP_CIPHER_CTX and the EVP_MD_CTX were still expected to live
on the stack, these initialization APIs were wrappers around memset.
In OpenSSL 1.1, somebody removed them and carelessly made _init() an
alias of _reset() aka _cleanup(). As a consequence, both signature and
semantics changed.

Unsurprisingly, there is now code out there that actually uses the new
semantics, which causes leaks on LibreSSL and older OpenSSL. This aligns
our _init() with OpenSSL 1.1 semantics.

ok jsing
</content>
</entry>
<entry>
<title>Use EVP_MD_CTX_legacy_clear() internally</title>
<updated>2024-02-18T15:45:42+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-02-18T15:45:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ff3e386de60f6149938edb124d31bc2fd7ae04f6'/>
<id>urn:sha1:ff3e386de60f6149938edb124d31bc2fd7ae04f6</id>
<content type='text'>
ok jsing
</content>
</entry>
<entry>
<title>Add EVP_MD_CTX_legacy_clear()</title>
<updated>2024-02-18T15:43:21+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-02-18T15:43:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=57ee559fa828c2d7f5c21fd1bee340fec067a508'/>
<id>urn:sha1:57ee559fa828c2d7f5c21fd1bee340fec067a508</id>
<content type='text'>
This is analogous to EVP_CIPHER_CTX_legacy_clear() and will serve as an
internal replacement for EVP_MD_CTX_init() until the conversion to heap
allocated ctx is completed. This way EVP_MD_CTX_init() can be changed to
match the OpenSSL 1.1 API.

ok jsing
</content>
</entry>
<entry>
<title>Make EVP_{CIPHER,MD}_CTX_{cleanup,reset}() NULL-safe</title>
<updated>2024-01-30T17:41:01+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-01-30T17:41:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=abcb4251e0970a4a64b4764962fd5fa357070770'/>
<id>urn:sha1:abcb4251e0970a4a64b4764962fd5fa357070770</id>
<content type='text'>
We have a bunch of code that relies on this. Surely there is code out
there in the wider ecosystem that relies on these being NULL-safe by
now since upstream sprinkles NULL checks wherever they can.

ok beck joshua
</content>
</entry>
<entry>
<title>Move the EVP_MD block size accessor down</title>
<updated>2023-12-29T07:22:47+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-12-29T07:22:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=290b2556a46fdf4db11544123a9f095ed17d6e22'/>
<id>urn:sha1:290b2556a46fdf4db11544123a9f095ed17d6e22</id>
<content type='text'>
This way all the EVP_MD accessors are in the order of the struct fields.
Well, arguably the EVP_MD_meth* should come first, but they are scheduled
to go meet the dodo.
</content>
</entry>
<entry>
<title>Move the EVP_MD_CTX flag accessors up a bit</title>
<updated>2023-12-29T07:14:02+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-12-29T07:14:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0523322302fbb4c568b70aa19f3f3012143af56a'/>
<id>urn:sha1:0523322302fbb4c568b70aa19f3f3012143af56a</id>
<content type='text'>
This way the accessors are sorted the same way as the struct.
</content>
</entry>
</feed>
