<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/kdf, branch libressl-v3.8.2</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v3.8.2</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v3.8.2'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2023-06-26T08:57:17+00:00</updated>
<entry>
<title>Adjust EVP_PKEY_CTRL_HKDF_KEY to OpenSSL's semantics</title>
<updated>2023-06-26T08:57:17+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-06-26T08:57:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=36dc6e3bd638a341fcee604245bf23d1c02bfd13'/>
<id>urn:sha1:36dc6e3bd638a341fcee604245bf23d1c02bfd13</id>
<content type='text'>
For some reason there is no NULL check on setting the HKDF key for p2 like
in the other cases in the switch, instead OpenSSL fail in memdup, nulling
out the key but leaving he key_len at the old value. This looks accidental
but our behavior makes some haproxy regress tests segfault. So mimic weird
OpenSSL semantics but in addition set the key_len to 0.

Reported by Ilya Shipitsin

ok jsing
</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>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>Simplify: freezero() is NULL safe; assign + test in one go, as usual.</title>
<updated>2022-05-05T19:48:06+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-05-05T19:48:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d072cbaedff238f7a1e016236e14e0e7313fef3d'/>
<id>urn:sha1:d072cbaedff238f7a1e016236e14e0e7313fef3d</id>
<content type='text'>
ok jsing
</content>
</entry>
<entry>
<title>Avoid malloc(0) in EVP_PKEY_CTX_set1_hkdf_key()</title>
<updated>2022-05-05T19:46:36+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-05-05T19:46:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0338871aa5eff66214a0f284df81dfe5baafad7f'/>
<id>urn:sha1:0338871aa5eff66214a0f284df81dfe5baafad7f</id>
<content type='text'>
ok jsing
</content>
</entry>
<entry>
<title>Securely wipe the entire HKDF_PKEY_CTX instead of only taking care of</title>
<updated>2022-05-05T19:44:23+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-05-05T19:44:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a84cfd259de5c815a6c6d613e60253d77508a3c1'/>
<id>urn:sha1:a84cfd259de5c815a6c6d613e60253d77508a3c1</id>
<content type='text'>
a piece of the embedded info array.

ok jsing
</content>
</entry>
<entry>
<title>Fix argument order in HKDF and HKDF_extract().</title>
<updated>2022-05-05T11:26:36+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-05-05T11:26:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=14561e7c4537eee9ff1f86cc079c74e822b7b9e0'/>
<id>urn:sha1:14561e7c4537eee9ff1f86cc079c74e822b7b9e0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Ditch #defines for tls1_prf and scrypt. Drop unused errors and massage</title>
<updated>2022-05-05T08:24:14+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-05-05T08:24:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9fb9c008e59eafd70dee8f62f3dea62ea928fa06'/>
<id>urn:sha1:9fb9c008e59eafd70dee8f62f3dea62ea928fa06</id>
<content type='text'>
some const.

ok beck jsing
</content>
</entry>
<entry>
<title>Translate from OpenSSL's HKDF API to BoringSSL API.</title>
<updated>2022-05-05T08:14:14+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-05-05T08:14:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=149b492e15288179d8f101949dca107977777b6b'/>
<id>urn:sha1:149b492e15288179d8f101949dca107977777b6b</id>
<content type='text'>
ok beck jsing
</content>
</entry>
<entry>
<title>Remove function codes from errors, i.e., KDFerr(A, B) -&gt; KDFerror(B)</title>
<updated>2022-05-05T08:10:39+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-05-05T08:10:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ac804b13a0170f8d542def4ecbb8e895200eafbd'/>
<id>urn:sha1:ac804b13a0170f8d542def4ecbb8e895200eafbd</id>
<content type='text'>
ok beck jsing
</content>
</entry>
</feed>
