diff --git a/providers/common/der/RSA.asn1 b/providers/common/der/RSA.asn1 index 7bce636029fa9dace269c731f26056f86a810c57..66511be50ef46d414001ff07058f5e524fa7877c 100644 --- a/providers/common/der/RSA.asn1 +++ b/providers/common/der/RSA.asn1 @@ -86,3 +86,14 @@ id-rsassa-pkcs1-v1_5-with-sha3-224 OBJECT IDENTIFIER ::= { sigAlgs 13 } id-rsassa-pkcs1-v1_5-with-sha3-256 OBJECT IDENTIFIER ::= { sigAlgs 14 } id-rsassa-pkcs1-v1_5-with-sha3-384 OBJECT IDENTIFIER ::= { sigAlgs 15 } id-rsassa-pkcs1-v1_5-with-sha3-512 OBJECT IDENTIFIER ::= { sigAlgs 16 } + + +-- ------------------------------------------------------------------- +-- These OID's exist in the codebase but may need to be deprecated at some point. +-- mdc2 and md5_sha1 have been omitted as they do not look like valid entries. + +md4WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 3 } + +ripemd160WithRSAEncryption OBJECT IDENTIFIER ::= { + iso(1) identified-organization(3) teletrust(36) algorithm(3) signatureAlgorithm(3) rsaSignature(1) 2 +} diff --git a/providers/common/der/der_rsa.c.in b/providers/common/der/der_rsa.c.in index 5abf0793985c66d97ff5166cfed58d01f9759de0..cdff7228187b2d183a63bddee2f8693f1a1f6e86 100644 --- a/providers/common/der/der_rsa.c.in +++ b/providers/common/der/der_rsa.c.in @@ -53,6 +53,9 @@ int DER_w_algorithmIdentifier_RSA_with(WPACKET *pkt, int tag, #ifndef FIPS_MODULE MD_CASE(md2); MD_CASE(md5); + MD_CASE(md4); + MD_CASE(ripemd160); +/* TODO(3.0) Decide what to do about mdc2 and md5_sha1 */ #endif MD_CASE(sha1); MD_CASE(sha224);