RSA: Add rsa_schemes.c, to store scheme data and translator functions
authorRichard Levitte <levitte@openssl.org>
Sat, 2 May 2020 10:41:39 +0000 (12:41 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 14 May 2020 10:16:34 +0000 (12:16 +0200)
commite9d6186e0507fb814310c5230293ff62310c5f9d
tree545cbcef533697123473de5d3b4bb23ef2570194
parent645a541a3fdabd32cb8cbda48651f4150486189d
RSA: Add rsa_schemes.c, to store scheme data and translator functions

The scheme currently added is OAEP-PSSDigestAlgorithms codified.
The translator functions translate an EVP_MD into a NID, and a NID
into a name, to support the creation and parsing of OSSL_PARAM items.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11710)
crypto/rsa/build.info
crypto/rsa/rsa_schemes.c [new file with mode: 0644]
include/crypto/rsa.h