<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/dh, branch libressl-v3.7.0</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v3.7.0</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v3.7.0'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2022-11-26T16:08:57+00:00</updated>
<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>Simplify computation of max_pub_key = dh-&gt;p - 1.</title>
<updated>2022-07-13T18:38:20+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-07-13T18:38:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c5df41ab4c6221a6afbdce624a917ed470179c2e'/>
<id>urn:sha1:c5df41ab4c6221a6afbdce624a917ed470179c2e</id>
<content type='text'>
ok jsing
</content>
</entry>
<entry>
<title>Remove mkerr.pl remnants from LibreSSL</title>
<updated>2022-07-12T14:42:50+00:00</updated>
<author>
<name>kn</name>
<email></email>
</author>
<published>2022-07-12T14:42:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=89e42d5857196a8071fbafb5565388d0e20ec32b'/>
<id>urn:sha1:89e42d5857196a8071fbafb5565388d0e20ec32b</id>
<content type='text'>
This script is not used at all and files are edited by hand instead.
Thus remove misleading comments incl. the obsolete script/config.

Feedback OK jsing tb
</content>
</entry>
<entry>
<title>Expose new API in headers.</title>
<updated>2022-07-07T13:01:28+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-07-07T13:01:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7986c6c16406e5ad9f53a49107428df9f9fd70c1'/>
<id>urn:sha1:7986c6c16406e5ad9f53a49107428df9f9fd70c1</id>
<content type='text'>
These are mostly security-level related, but there are also ASN1_TIME
and ASN_INTEGER functions here, as well as some missing accessors.

ok jsing
</content>
</entry>
<entry>
<title>Prepare to provide EVP_PKEY_security_bits()</title>
<updated>2022-06-27T12:36:06+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-06-27T12:36:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3a9b1012fb6b57946e4cf3ee7b795a4bdcb905cc'/>
<id>urn:sha1:3a9b1012fb6b57946e4cf3ee7b795a4bdcb905cc</id>
<content type='text'>
This also provides a pkey_security_bits member to the PKEY ASN.1 methods
and a corresponding setter EVP_PKEY_asn1_set_security_bits().

ok beck jsing
</content>
</entry>
<entry>
<title>Prepare to provide DH_security_bits()</title>
<updated>2022-06-27T12:31:38+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-06-27T12:31:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e9bc35a6d120c0aa1f30feafb92222df91771dbd'/>
<id>urn:sha1:e9bc35a6d120c0aa1f30feafb92222df91771dbd</id>
<content type='text'>
ok beck jsing
</content>
</entry>
<entry>
<title>Add check for BIO_indent return value</title>
<updated>2022-01-20T11:00:34+00:00</updated>
<author>
<name>inoguchi</name>
<email></email>
</author>
<published>2022-01-20T11:00:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=aa385c25ced0d9d497e76952f1c22ff02913b0d8'/>
<id>urn:sha1:aa385c25ced0d9d497e76952f1c22ff02913b0d8</id>
<content type='text'>
CID 24812

ok jsing@ millert@ tb@
</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>Unifdef LIBRESSL_OPAQUE_* and LIBRESSL_NEXT_API</title>
<updated>2022-01-14T07:49:49+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-14T07:49:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=82ec18edf4e632f36b6f79c239fdb6961d421a82'/>
<id>urn:sha1:82ec18edf4e632f36b6f79c239fdb6961d421a82</id>
<content type='text'>
This marks the start of major surgery in libcrypto. Do not attempt to
build the tree for a while (~50 commits).
</content>
</entry>
<entry>
<title>Prepare to provide EVP_PKEY_{public,param}_check</title>
<updated>2022-01-10T12:10:26+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-10T12:10:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=875eb616f98cd0720501dc97ee72ed96343b0b33'/>
<id>urn:sha1:875eb616f98cd0720501dc97ee72ed96343b0b33</id>
<content type='text'>
This implements checking of a public key and of key generation
parameters for DH and EC keys. With the same logic and setters
and const quirks as for EVP_PKEY_check().

There are a couple of quirks: For DH no default EVP_PKEY_check()
is implemented, instead EVP_PKEY_param_check() calls DH_check_ex()
even though DH_param_check_ex() was added for this purpose.
EVP_PKEY_public_check() for EC curves also checks the private key
if present.

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