<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/objects, branch master</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=master</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-11-19T23:04:07+00:00</updated>
<entry>
<title>Correct the MLKEM hybrid objects values.</title>
<updated>2025-11-19T23:04:07+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2025-11-19T23:04:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=507dc2007ce25f8363937e871b5ee06179163114'/>
<id>urn:sha1:507dc2007ce25f8363937e871b5ee06179163114</id>
<content type='text'>
The ietf has had a bunch of back and forth over what will happen here.
in the end the previously mentioned draft will not include the TLS hybrids,
so we change this to use reference the correct draft for TLS, and use the
same name everyone else is using, without an OID.

While we will probably end up needing the *other* hybrids for things like
CMS, we will bring them in when we need them and have official OID values
from IANA.

ok tb@
</content>
</entry>
<entry>
<title>Fix previous - names use underscores and not hyphens.</title>
<updated>2025-05-20T07:47:43+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-05-20T07:47:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=549b38434d063577bfe3b7973548ea642063b1fb'/>
<id>urn:sha1:549b38434d063577bfe3b7973548ea642063b1fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add ML-KEM768 Hybrid Kems to obj_mac.num</title>
<updated>2025-05-20T05:42:40+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2025-05-20T05:42:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1637f58ae3db7781c5902be137af1d45644eca26'/>
<id>urn:sha1:1637f58ae3db7781c5902be137af1d45644eca26</id>
<content type='text'>
ok tb@, joshua@
</content>
</entry>
<entry>
<title>Add ML-KEM768 Hybrid Kems to objects.txt</title>
<updated>2025-05-20T05:41:47+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2025-05-20T05:41:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=518b052e2a888b9a0902ab91ed53bf1592a87f53'/>
<id>urn:sha1:518b052e2a888b9a0902ab91ed53bf1592a87f53</id>
<content type='text'>
ok tb@, joshua@
</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>obj_dat: remove parens from return</title>
<updated>2025-02-26T10:48:25+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-02-26T10:48:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b1a938971212a7a592d7e2ede901063e035e033f'/>
<id>urn:sha1:b1a938971212a7a592d7e2ede901063e035e033f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>obj_dat: don't shift a-&gt;length into the sign bit</title>
<updated>2025-02-26T09:52:55+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-02-26T09:52:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f55cac4fee34533075692ff0c2e1942c5f2f5a6b'/>
<id>urn:sha1:f55cac4fee34533075692ff0c2e1942c5f2f5a6b</id>
<content type='text'>
For an OID of excessive length &gt;= 2^12, a-&gt;length &lt;&lt; 20L is undefined,
so add a cast to the target type of (unsigned long).

From Kenjiro Nakayama
</content>
</entry>
<entry>
<title>obj_dat: don't shift ca-&gt;type into the sign bit</title>
<updated>2025-02-26T09:49:54+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-02-26T09:49:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8433b909f043d8d8afb48503656082d288e05934'/>
<id>urn:sha1:8433b909f043d8d8afb48503656082d288e05934</id>
<content type='text'>
This is undefined for a ca-&gt;type of ADDED_LNAME (2) and ADDED_NID (3)
when ca-&gt;type &lt;&lt; 30L results in a shift into the sign bit, so add a
cast to the target type of unsigned long.

From Kenjiro Nakayama
</content>
</entry>
<entry>
<title>Fix underlying pkey of RSA-PSS</title>
<updated>2024-08-28T06:53:24+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-08-28T06:53:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d11fe5b2062a23e69f721c28b3f515c5bec8a3aa'/>
<id>urn:sha1:d11fe5b2062a23e69f721c28b3f515c5bec8a3aa</id>
<content type='text'>
There are currently very few differences between the rsa_asn1_meth for
plain RSA and the rsa_pss_asn1_meth for RSA-PSS apart from the obviously
necessary differnces for base_method, pkey_id, pem_str and info (and the
fact that RSA has support for legacy private key encoding). This had the
lucky side effect that it didn't really matter which ameth one ended up
using after OBJ_find_sigid_algs().

With the upcoming support for X509_get_signature_infO() for RSA-PSS, this
needs to change as for RSA-PSS we need to decode the PSS parameters for
extracting the "security level", whereas for RSA we can just use the hash
length. Thus, for RSA-PSS switch pkey_id from the incorrect rsaEncryption
to rassaPss.

ok jsing

PS: OBJ_find_sigid_algs() manual is no longer entirely correct, but this
has been the case since we added Ed25519 support to obj_xref.
</content>
</entry>
<entry>
<title>Remove lhash_local.h.</title>
<updated>2024-07-14T14:32:45+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-07-14T14:32:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1ae23ffb91ba41cf24c39b874e0d6f164063cfe3'/>
<id>urn:sha1:1ae23ffb91ba41cf24c39b874e0d6f164063cfe3</id>
<content type='text'>
lhash_local.h was previously needed since conf/conf_api.c and
objects/obj_dat.c were fiddling with lhash internals when deleting via a
callback. Since we no longer need to do that, inline the structs in
lhash.c and remove the header.

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