<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/mlkem, branch OPENBSD_7_8_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_8_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_8_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-09-16T06:12:04+00:00</updated>
<entry>
<title>mlkem_generate_key_external_entropy: normalize sizeof() use</title>
<updated>2025-09-16T06:12:04+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-09-16T06:12:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c0502723cf1da15eab87e3434cd70dfaae2910f6'/>
<id>urn:sha1:c0502723cf1da15eab87e3434cd70dfaae2910f6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simplify MLKEM_{private,public}_key_new()</title>
<updated>2025-09-16T06:10:24+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-09-16T06:10:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e7b57a14f72bfb330c5d26dd387f302ecbb52b42'/>
<id>urn:sha1:e7b57a14f72bfb330c5d26dd387f302ecbb52b42</id>
<content type='text'>
This removes two unnecessary variables in each of these functions,
normalizes the sizeof() use and undoes unnecessary line wraps.

ok deraadt djm kenjiro
</content>
</entry>
<entry>
<title>MLKEM_private_key_new: add missing space before =</title>
<updated>2025-09-15T03:34:58+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-09-15T03:34:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0eed5822a87e695248d6828aca5291e4b942d39a'/>
<id>urn:sha1:0eed5822a87e695248d6828aca5291e4b942d39a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mlkem_public_to_private: fix overread/information leak</title>
<updated>2025-09-14T16:47:37+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-09-14T16:47:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4c3431c42271c25d676afc9be6b449390cc67152'/>
<id>urn:sha1:4c3431c42271c25d676afc9be6b449390cc67152</id>
<content type='text'>
After the guts of MLKEM_public_key were changed from a union to a struct,
the aligner grew the struct, leaking as many bytes of private key data as
the struct grew (on normal platforms that would be 2).

Ideally this would all be a bit more robust.

CID 621603 621604

ok jsing kenjiro
</content>
</entry>
<entry>
<title>Deduplicate the mlkem 768 and mlkem 1024 code.</title>
<updated>2025-09-05T23:30:12+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2025-09-05T23:30:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=21ce890cad6ae67e0d52f7bfdc44579df2bfc032'/>
<id>urn:sha1:21ce890cad6ae67e0d52f7bfdc44579df2bfc032</id>
<content type='text'>
This moves everything not public to mlkem_internal.c
removing the old files and doing some further cleanup
on the way.

With this landed mlkem is out of my stack and can be
changed without breaking my subsequent changes

ok tb@
</content>
</entry>
<entry>
<title>An executive decision has been taken to expose marshal private key as well</title>
<updated>2025-08-19T21:37:08+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-08-19T21:37:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fe2206ea0ebbcabbfbe6889f6747287fae32b1fc'/>
<id>urn:sha1:fe2206ea0ebbcabbfbe6889f6747287fae32b1fc</id>
<content type='text'>
rides the libcrypto bump
</content>
</entry>
<entry>
<title>unbreak tree after commiting from wrong place</title>
<updated>2025-08-14T16:04:01+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2025-08-14T16:04:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=acfe2a484010f8690ec05a3624ba49e9e28b9fd0'/>
<id>urn:sha1:acfe2a484010f8690ec05a3624ba49e9e28b9fd0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a reasonable ML-KEM API for public use.</title>
<updated>2025-08-14T15:48:48+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2025-08-14T15:48:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6452fa9fc6f33dac80ee572764b9fe29a469f8ce'/>
<id>urn:sha1:6452fa9fc6f33dac80ee572764b9fe29a469f8ce</id>
<content type='text'>
Adapt the tests to use this API.

This does not yet make the symbols public in Symbols.list
which will happen shortly with a bump.

This includes some partial rototilling of the non-public
interfaces which will be shortly continued when the internal
code is deduplicated to not have multiple copies for ML-KEM
768 and ML-KEM 1024 (which is just an artifact of unravelling
the boring C++ code).

ok jsing@, tb@
</content>
</entry>
<entry>
<title>Fix buffer size in MLKEM1024_marshal_public_key()</title>
<updated>2025-05-21T02:18:11+00:00</updated>
<author>
<name>kenjiro</name>
<email></email>
</author>
<published>2025-05-21T02:18:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8fc90b1fa2a0e9912cea8d86e63281df5cef1738'/>
<id>urn:sha1:8fc90b1fa2a0e9912cea8d86e63281df5cef1738</id>
<content type='text'>
Initialize the output buffer with MLKEM1024_PUBLIC_KEY_BYTES
instead of MLKEM768_PUBLIC_KEY_BYTES.

ok tb@
</content>
</entry>
<entry>
<title>Make MLKEM1024_marshal_private_key consistent with the public_key funcitons</title>
<updated>2025-05-20T00:33:41+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2025-05-20T00:33:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=211b9df21ce4cb41c95de7fbc558ebdf3c53d921'/>
<id>urn:sha1:211b9df21ce4cb41c95de7fbc558ebdf3c53d921</id>
<content type='text'>
Even though this should remain internal, make it the same
as the public key marshal function, and make the needed
fallout changes in regress.

ok kenjiro@, tb@
</content>
</entry>
</feed>
