summaryrefslogtreecommitdiffstats
path: root/crypto/objects
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2017-09-10 21:41:14 +0200
committerAndy Polyakov <appro@openssl.org>2017-09-11 22:18:14 +0200
commitb290bac18278832a11790d2cf5df085ffd3cdb69 (patch)
tree8ee8d051bba59e0ab312a2699c8f70207ae17cf8 /crypto/objects
parentf9f3e175336bd5d6ae109c103b1646efd6b85c6e (diff)
objects/obj_xref.txt: cross-reference SHA3 and rsaEncryption.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/objects')
-rw-r--r--crypto/objects/obj_xref.h8
-rw-r--r--crypto/objects/obj_xref.txt4
2 files changed, 12 insertions, 0 deletions
diff --git a/crypto/objects/obj_xref.h b/crypto/objects/obj_xref.h
index 075907bf44..fe5c0068fd 100644
--- a/crypto/objects/obj_xref.h
+++ b/crypto/objects/obj_xref.h
@@ -74,6 +74,10 @@ static const nid_triple sigoid_srt[] = {
{NID_id_tc26_signwithdigest_gost3410_2012_512, NID_id_GostR3411_2012_512,
NID_id_GostR3410_2012_512},
{NID_ED25519, NID_undef, NID_ED25519},
+ {NID_RSA_SHA3_224, NID_sha3_224, NID_rsaEncryption},
+ {NID_RSA_SHA3_256, NID_sha3_256, NID_rsaEncryption},
+ {NID_RSA_SHA3_384, NID_sha3_384, NID_rsaEncryption},
+ {NID_RSA_SHA3_512, NID_sha3_512, NID_rsaEncryption},
};
static const nid_triple *const sigoid_srt_xref[] = {
@@ -116,4 +120,8 @@ static const nid_triple *const sigoid_srt_xref[] = {
&sigoid_srt[28],
&sigoid_srt[40],
&sigoid_srt[41],
+ &sigoid_srt[43],
+ &sigoid_srt[44],
+ &sigoid_srt[45],
+ &sigoid_srt[46],
};
diff --git a/crypto/objects/obj_xref.txt b/crypto/objects/obj_xref.txt
index c36695c9ab..c8dee7b880 100644
--- a/crypto/objects/obj_xref.txt
+++ b/crypto/objects/obj_xref.txt
@@ -13,6 +13,10 @@ sha512WithRSAEncryption sha512 rsaEncryption
sha224WithRSAEncryption sha224 rsaEncryption
mdc2WithRSA mdc2 rsaEncryption
ripemd160WithRSA ripemd160 rsaEncryption
+RSA_SHA3_224 sha3_224 rsaEncryption
+RSA_SHA3_256 sha3_256 rsaEncryption
+RSA_SHA3_384 sha3_384 rsaEncryption
+RSA_SHA3_512 sha3_512 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.