diff options
author | Richard Levitte <levitte@openssl.org> | 2020-07-20 16:13:18 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-07-27 12:15:29 +0200 |
commit | a4e55cccc9991b35c3f4b3f4aac32b59aa598584 (patch) | |
tree | b0a469f471dc8bbb7092ef707311f2d7bfcbac15 /providers/common | |
parent | 456b3b97a489d4be42f4258cb65bf76dfd8bab00 (diff) |
PROV: Add a DER to RSA-PSS deserializer implementation
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12492)
Diffstat (limited to 'providers/common')
-rw-r--r-- | providers/common/include/prov/providercommonerr.h | 1 | ||||
-rw-r--r-- | providers/common/provider_err.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/providers/common/include/prov/providercommonerr.h b/providers/common/include/prov/providercommonerr.h index f5fd37d9cc..bdc39e4121 100644 --- a/providers/common/include/prov/providercommonerr.h +++ b/providers/common/include/prov/providercommonerr.h @@ -101,6 +101,7 @@ int ERR_load_PROV_strings(void); # define PROV_R_INVALID_MODE_INT 126 # define PROV_R_INVALID_PADDING_MODE 168 # define PROV_R_INVALID_PSS_SALTLEN 169 +# define PROV_R_INVALID_RSA_KEY 217 # define PROV_R_INVALID_SALT_LENGTH 112 # define PROV_R_INVALID_SEED_LENGTH 154 # define PROV_R_INVALID_SIGNATURE_SIZE 179 diff --git a/providers/common/provider_err.c b/providers/common/provider_err.c index 7a5c41bfda..e65ce96471 100644 --- a/providers/common/provider_err.c +++ b/providers/common/provider_err.c @@ -96,6 +96,7 @@ static const ERR_STRING_DATA PROV_str_reasons[] = { "invalid padding mode"}, {ERR_PACK(ERR_LIB_PROV, 0, PROV_R_INVALID_PSS_SALTLEN), "invalid pss saltlen"}, + {ERR_PACK(ERR_LIB_PROV, 0, PROV_R_INVALID_RSA_KEY), "invalid rsa key"}, {ERR_PACK(ERR_LIB_PROV, 0, PROV_R_INVALID_SALT_LENGTH), "invalid salt length"}, {ERR_PACK(ERR_LIB_PROV, 0, PROV_R_INVALID_SEED_LENGTH), |