<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/dh/dh_local.h, 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>2024-11-29T15:59:57+00:00</updated>
<entry>
<title>Remove X9.42 DH rudiments</title>
<updated>2024-11-29T15:59:57+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-11-29T15:59:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=30b4f7f318b03413f22e3849cf9eeba83c165643'/>
<id>urn:sha1:30b4f7f318b03413f22e3849cf9eeba83c165643</id>
<content type='text'>
In the unlikely event that we should ever decide to implement this after
a quarter century of not needing it, we can readily put this back. Until
then this is dead weight.

prompted by a question by djm
ok jsing
</content>
</entry>
<entry>
<title>Remove weird pad member that was never set to zero after malloc() so</title>
<updated>2024-11-29T07:42:35+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-11-29T07:42:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=916f80d01875d84154d09cf15bfc3c885c8c0b05'/>
<id>urn:sha1:916f80d01875d84154d09cf15bfc3c885c8c0b05</id>
<content type='text'>
the weird thing it was supposed to be doing couldn't possibly work.

ok jsing
</content>
</entry>
<entry>
<title>Garbage collect the DH_check*_ex() API</title>
<updated>2024-08-30T17:44:56+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-08-30T17:44:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=67d80505486d7a6c9512d45a4d7e0add8a2b13ec'/>
<id>urn:sha1:67d80505486d7a6c9512d45a4d7e0add8a2b13ec</id>
<content type='text'>
This was only needed by the EVP_PKEY_*check() API, which was defanged. So
this silly garbage can now go: it translated flags to errors on the error
stack so that openssl *check could print ugly errors while DoS-ing the
user.

ok beck
</content>
</entry>
<entry>
<title>Ignore ENGINE at the API boundary</title>
<updated>2023-11-29T21:35:57+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-11-29T21:35:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=69bbc5fea4f411f0c0033ecb0fc5126c895ea82a'/>
<id>urn:sha1:69bbc5fea4f411f0c0033ecb0fc5126c895ea82a</id>
<content type='text'>
This removes the remaining ENGINE members from various internal structs
and functions. Any ENGINE passed into a public API is now completely
ignored functions returning an ENGINE always return NULL.

ok jsing
</content>
</entry>
<entry>
<title>Make structs in dh.h opaque</title>
<updated>2022-01-14T08:25:44+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-14T08:25:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b750ed61cefe91940dce870088adff3ad6857d34'/>
<id>urn:sha1:b750ed61cefe91940dce870088adff3ad6857d34</id>
<content type='text'>
This moves the struct internals for DH and DH_METHOD to dh_local.h.

ok inoguchi jsing
</content>
</entry>
<entry>
<title>Provide DH_check*_ex and many error codes</title>
<updated>2022-01-10T12:00:52+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-10T12:00:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7f7aefb469a9916b1d914a9fabaed99bb909ef8d'/>
<id>urn:sha1:7f7aefb469a9916b1d914a9fabaed99bb909ef8d</id>
<content type='text'>
DH_check{,_pub_key}_ex() wrap their non-ex versions to translate
the flags argument of the original functions into OpenSSL errors.
For this almost a dozen new error codes need to be added.

DH_params_check{,_ex}() is a new version of DH_check that only
performs a cheap subset of the checks.

They are needed to implement EVP_PKEY_{public,param}_check()
(observe the consistent naming) although the actual implementation
of EVP_PKEY_param_check() chose to use DH_check_ex().

As far as I can tell, the only raison d'être of the _ex functions
and error codes is to spew them to stderr in a couple of openssl(1)
commands. This couldn't have been solved differently...

These functions will not be exposed publicly.

ok inoguchi jsing
</content>
</entry>
<entry>
<title>Add an essentially empty dh_local.h and include it in the files where</title>
<updated>2022-01-07T09:27:13+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-07T09:27:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=01c3a3efcb3377bc530d4bf225668754e137d085'/>
<id>urn:sha1:01c3a3efcb3377bc530d4bf225668754e137d085</id>
<content type='text'>
it will be needed in the upcoming bump.

discussed with jsing
</content>
</entry>
</feed>
