openssl/crypto/rsa
Richard Levitte 6ce6ad39fe RSA: Be less strict on PSS parameters when exporting to provider
We have a key in test/recipes/30-test_evp_data/evppkey.txt with bad
PSS parameters (RSA-PSS-BAD), which is supposed to trigger signature
computation faults.  However, if this key needs to be exported to the
RSA provider implementation, the result would be an earlier error,
giving the computation that's supposed to be checked n chance to even
be reached.

Either way, the legacy to provider export is no place to validate the
values of the key.

We also ensure that the provider implementation can handle and detect
signed (negative) saltlen values.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12583)
2020-08-07 09:59:18 +10:00
..
build.info Add ACVP fips module tests 2020-06-17 11:33:16 +10:00
rsa_acvp_test_params.c Add ACVP fips module tests 2020-06-17 11:33:16 +10:00
rsa_ameth.c RSA: Be less strict on PSS parameters when exporting to provider 2020-08-07 09:59:18 +10:00
rsa_asn1.c Update copyright year 2020-04-23 13:55:52 +01:00
rsa_backend.c Add ACVP fips module tests 2020-06-17 11:33:16 +10:00
rsa_chk.c Rename FIPS_MODE to FIPS_MODULE 2020-04-28 15:37:37 +02:00
rsa_crpt.c Update copyright year 2020-04-23 13:55:52 +01:00
rsa_depr.c Update copyright year 2020-04-23 13:55:52 +01:00
rsa_err.c Make the RSA ASYM_CIPHER implementation available inside the FIPS module 2020-02-13 14:14:30 +00:00
rsa_gen.c Fix potential double free in rsa_keygen pairwise test. 2020-06-23 12:28:48 +02:00
rsa_lib.c Add ACVP fips module tests 2020-06-17 11:33:16 +10:00
rsa_local.h Add ACVP fips module tests 2020-06-17 11:33:16 +10:00
rsa_meth.c Update copyright year 2020-04-23 13:55:52 +01:00
rsa_mp.c Reorganize local header files 2019-09-28 20:26:35 +02:00
rsa_mp_names.c Rename FIPS_MODE to FIPS_MODULE 2020-04-28 15:37:37 +02:00
rsa_none.c Update copyright year 2020-04-23 13:55:52 +01:00
rsa_oaep.c rsa_padding_add_PKCS1_OAEP_mgf1_with_libctx(): fix check of |md| 2020-05-20 21:10:10 +02:00
rsa_ossl.c Rename FIPS_MODE to FIPS_MODULE 2020-04-28 15:37:37 +02:00
rsa_pk1.c Rename FIPS_MODE to FIPS_MODULE 2020-04-28 15:37:37 +02:00
rsa_pmeth.c Add RSA SHA512 truncated digest support 2020-05-07 16:00:40 +10:00
rsa_prn.c Update copyright year 2020-04-23 13:55:52 +01:00
rsa_pss.c RSA: Add a less loaded PSS-parameter structure 2020-05-14 12:16:35 +02:00
rsa_saos.c Update copyright year 2020-04-23 13:55:52 +01:00
rsa_schemes.c RSA: Add rsa_schemes.c, to store scheme data and translator functions 2020-05-14 12:16:34 +02:00
rsa_sign.c Rename FIPS_MODE to FIPS_MODULE 2020-04-28 15:37:37 +02:00
rsa_sp800_56b_check.c Flag RSA secret BNs as consttime on keygen and checks 2020-06-21 13:45:27 +03:00
rsa_sp800_56b_gen.c Flag RSA secret BNs as consttime on keygen and checks 2020-06-21 13:45:27 +03:00
rsa_ssl.c Update copyright year 2020-04-23 13:55:52 +01:00
rsa_x931.c Update copyright year 2020-04-23 13:55:52 +01:00
rsa_x931g.c Update copyright year 2020-04-23 13:55:52 +01:00