PROV: Implement padding mode words in the RSA ASYM_CIPHER implementation
authorRichard Levitte <levitte@openssl.org>
Sun, 2 Feb 2020 12:09:09 +0000 (13:09 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 4 Feb 2020 18:32:37 +0000 (19:32 +0100)
commit31a796d1cc884c727a226d3dfba6a1ad7a50b865
treef80bbe3bc13c195cee7898ed939b831ad7e06a02
parent00bc1ad99a69f851ccdea3656445ae2daaf70717
PROV: Implement padding mode words in the RSA ASYM_CIPHER implementation

Because the libcrypto code has relinquished control of exact words to
express padding mode choices, we re-implement them in the appropriate
provider implementation.

For the sake of legacy controls, we maintain support for the numeric
form of the padding mode, but leave that support otherwise undeclared.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/10947)
crypto/err/openssl.txt
providers/common/include/prov/providercommonerr.h
providers/common/provider_err.c
providers/implementations/asymciphers/rsa_enc.c