From c87a585c2cbfdf36065f7f4e84d19dd24c93e62c Mon Sep 17 00:00:00 2001 From: tb Date: Thu, 15 Jun 2023 16:58:38 +0000 Subject: [PATCH] Add Ed25519 to the obj_xref table. Also move part of for RSA-PSS to the top since it doesn't only apply to RSA-PSS. --- lib/libcrypto/objects/obj_xref.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/libcrypto/objects/obj_xref.txt b/lib/libcrypto/objects/obj_xref.txt index e874611a447..955977fc21e 100644 --- a/lib/libcrypto/objects/obj_xref.txt +++ b/lib/libcrypto/objects/obj_xref.txt @@ -1,6 +1,8 @@ # OID cross reference table. # Links signatures OIDs to their corresponding public key algorithms -# and digests. +# and digests. The digest "undef" indicates the public key's ASN.1 +# method should handle AlgorithmIdentifiers and (at least part of) the +# message digest explicitly. md2WithRSAEncryption md2 rsaEncryption md5WithRSAEncryption md5 rsaEncryption @@ -14,10 +16,11 @@ sha224WithRSAEncryption sha224 rsaEncryption mdc2WithRSA mdc2 rsaEncryption ripemd160WithRSA ripemd160 rsaEncryption # For PSS the digest algorithm can vary and depends on the included -# AlgorithmIdentifier. The digest "undef" indicates the public key -# method should handle this explicitly. +# AlgorithmIdentifier. rsassaPss undef rsaEncryption +Ed25519 undef Ed25519 + # Alternative deprecated OIDs. By using the older "rsa" OID this # type will be recognized by not normally used. -- 2.20.1