openssl/crypto/rsa
Shane Lontis 8bf37709a4 Update RSA keygen to use sp800-56b by default
Fixes #11742
Fixes #11764

The newer RSA sp800-56b algorithm is being used for the normal case of a non multiprime key of at least length 2048.
Insecure key lengths and mutltiprime RSA will use the old method.

Bad public exponents are no longer allowed (i.e values less than 65537 or even). Values such as 2 that would cause a infinite loop now result in an error. The value of 3 has been marked as deprecated but is still allowed for legacy purposes.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11765)
2020-06-10 08:59:56 +10:00
..
build.info RSA: Add rsa_schemes.c, to store scheme data and translator functions 2020-05-14 12:16:34 +02:00
rsa_ameth.c RSA: Do not set NULL OAEP labels 2020-05-28 10:01:47 -07:00
rsa_asn1.c Update copyright year 2020-04-23 13:55:52 +01:00
rsa_backend.c RSA: Add a less loaded PSS-parameter structure 2020-05-14 12:16:35 +02: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 Update RSA keygen to use sp800-56b by default 2020-06-10 08:59:56 +10:00
rsa_lib.c EVP: Refactor the RSA-PSS key generation controls for providers 2020-05-14 12:17:09 +02:00
rsa_local.h PROV: Use rsa_padding_add_PKCS1_OAEP_mgf1_with_libctx() in RSA-OAEP 2020-05-27 12:42:20 +02:00
rsa_meth.c Update copyright year 2020-04-23 13:55:52 +01:00
rsa_mp_names.c Rename FIPS_MODE to FIPS_MODULE 2020-04-28 15:37:37 +02:00
rsa_mp.c Reorganize local header files 2019-09-28 20:26:35 +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 Update RSA keygen to use sp800-56b by default 2020-06-10 08:59:56 +10:00
rsa_sp800_56b_gen.c Update RSA keygen to use sp800-56b by default 2020-06-10 08:59:56 +10: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