Commit b290bac1 authored by Andy Polyakov's avatar Andy Polyakov
Browse files

objects/obj_xref.txt: cross-reference SHA3 and rsaEncryption.

parent f9f3e175
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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],
};
+4 −0
Original line number Diff line number Diff line
@@ -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.