<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/pkcs12/p12_mutl.c, branch OPENBSD_7_9_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-06-03T08:42:15+00:00</updated>
<entry>
<title>Use timingsafe_memcmp when comparing authenticators</title>
<updated>2025-06-03T08:42:15+00:00</updated>
<author>
<name>kenjiro</name>
<email></email>
</author>
<published>2025-06-03T08:42:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0fc5b6d312fea35d788e92ffc5a6dc32638d32bc'/>
<id>urn:sha1:0fc5b6d312fea35d788e92ffc5a6dc32638d32bc</id>
<content type='text'>
Replace memcmp() with timingsafe_memcmp() for authentication tag
comparison in AES-CCM, GCM, PKCS12 and AES key unwrap code paths
to ensure constant-time behavior and avoid potential timing side
channels.

This aligns with OpenSSL 1e4a355.

ok tb@
</content>
</entry>
<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>Fix namespace build</title>
<updated>2024-03-24T06:48:03+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-24T06:48:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5670d7c719ea7eed499f4bf4c0621968b6e5cab0'/>
<id>urn:sha1:5670d7c719ea7eed499f4bf4c0621968b6e5cab0</id>
<content type='text'>
noticed/ok beck
</content>
</entry>
<entry>
<title>Remove a lot of PKCS12 garbage from the public API</title>
<updated>2024-03-02T10:15:16+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-02T10:15:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3660b6a445c7a10167a56fab6d7e882cdf782d91'/>
<id>urn:sha1:3660b6a445c7a10167a56fab6d7e882cdf782d91</id>
<content type='text'>
PKCS12 is a hot mess. Please participate in the survey at the end of
https://www.cs.auckland.ac.nz/~pgut001/pubs/pfx.html to increase its
credibility and unanimity.

ok jsing
</content>
</entry>
<entry>
<title>Fix various NULL dereferences in PKCS #12</title>
<updated>2024-01-25T13:44:08+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-01-25T13:44:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=26fee542e65d530cdacb9282bf510602c1e2b5fd'/>
<id>urn:sha1:26fee542e65d530cdacb9282bf510602c1e2b5fd</id>
<content type='text'>
The PKCS #7 ContentInfo has a mandatory contentType, but the content itself
is OPTIONAL. Various unpacking API assumed presence of the content type is
enough to access members of the content, resulting in crashes.

Reported by Bahaa Naamneh on libressl-security, many thanks

ok jsing
</content>
</entry>
<entry>
<title>libressl *_namespace.h: adjust *_ALIAS() to require a semicolon</title>
<updated>2023-02-16T08:38:17+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-02-16T08:38:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=24a27fd0d17d515b00097199de60fa85a76a95df'/>
<id>urn:sha1:24a27fd0d17d515b00097199de60fa85a76a95df</id>
<content type='text'>
LCRYPTO_ALIAS() and LSSL_ALIAS() contained a trailing semicolon.
This does not conform to style(9), breaks editors and ctags and
(most importantly) my workflow. Fix this by neutering them with
asm("") so that -Wpedantic doesn't complain. There's precedent
in libc's namespace.h

fix suggested by &amp; 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>Hide symbols in libcrypto/pkcs12</title>
<updated>2022-11-12T13:03:28+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2022-11-12T13:03:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f67e8816eac76498282b2708acce886d1f7e6f1a'/>
<id>urn:sha1:f67e8816eac76498282b2708acce886d1f7e6f1a</id>
<content type='text'>
ok jsing@
</content>
</entry>
<entry>
<title>Add an empty pkcs12_local.h and include it where it will soon be needed.</title>
<updated>2022-08-20T09:16:18+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-08-20T09:16:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ecbb64fca8f7fc649376c65a0b2850eeb54efab1'/>
<id>urn:sha1:ecbb64fca8f7fc649376c65a0b2850eeb54efab1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Prepare to provide PKCS12 accessors</title>
<updated>2022-08-03T20:16:06+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-08-03T20:16:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a32a61a3aa20740d1ab3245e6e33400a7dcfd2ee'/>
<id>urn:sha1:a32a61a3aa20740d1ab3245e6e33400a7dcfd2ee</id>
<content type='text'>
In order to be able to make pkcs12/ opaque, we need an entire family of
accessors. These are in a particularly nasty tangle since this was done
in about a dozen steps while sprinkling const, renaming functions, etc.
The public API also adds backward compat macros for functions that were
in the tree for half a day and then renamed. Of course some of them got
picked up by some ports.

Some of the gruesome hacks in here will go away with the next bump, but
that doesn't mean that the pkcs12 directory will be prettier afterward.

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