openssl/crypto/rsa
Richard Levitte 0996cff91f DH, DSA, EC_KEY: Fix exporters to allow domain parameter keys
The export-to-provider functions for DH, DSA and EC_KEY assumed that a
public key is always present, and would fail if not.  This blocks any
attempt to export a key structure with only domain parameters.

While fixing this, we also modify the selection declaration to
evp_keymgmt_import() to be more adaptive, the diverse selection bits
are now added when the corresponding data is added to the OSSL_PARAM
array.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11374)
2020-03-23 10:07:38 +01:00
..
build.info PROV: add RSA signature implementation 2020-02-22 01:07:15 +01:00
rsa_aid.c PROV: add RSA signature implementation 2020-02-22 01:07:15 +01:00
rsa_ameth.c DH, DSA, EC_KEY: Fix exporters to allow domain parameter keys 2020-03-23 10:07:38 +01:00
rsa_asn1.c Deprecate the low level RSA functions. 2020-02-20 18:58:40 +10:00
rsa_chk.c Deprecate the low level RSA functions. 2020-02-20 18:58:40 +10:00
rsa_crpt.c Deprecate the low level RSA functions. 2020-02-20 18:58:40 +10:00
rsa_depr.c Deprecate the low level RSA functions. 2020-02-20 18:58:40 +10: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 Add pairwise consistency self tests to asym keygenerators 2020-03-03 14:02:36 +10:00
rsa_lib.c Add RSA sign to the fips provider 2020-03-15 17:38:00 +10:00
rsa_local.h Use RAND_bytes_ex in crypto/rsa 2020-03-19 18:49:12 +00:00
rsa_meth.c Deprecate the low level RSA functions. 2020-02-20 18:58:40 +10:00
rsa_mp.c Reorganize local header files 2019-09-28 20:26:35 +02:00
rsa_none.c Deprecate the low level RSA functions. 2020-02-20 18:58:40 +10:00
rsa_oaep.c Use RAND_bytes_ex in crypto/rsa 2020-03-19 18:49:12 +00:00
rsa_ossl.c Use RAND_bytes_ex in crypto/rsa 2020-03-19 18:49:12 +00:00
rsa_pk1.c Use RAND_bytes_ex in crypto/rsa 2020-03-19 18:49:12 +00:00
rsa_pmeth.c PROV: add RSA signature implementation 2020-02-22 01:07:15 +01:00
rsa_prn.c Deprecate the low level RSA functions. 2020-02-20 18:58:40 +10:00
rsa_pss.c Use RAND_bytes_ex in crypto/rsa 2020-03-19 18:49:12 +00:00
rsa_saos.c Deprecate the low level RSA functions. 2020-02-20 18:58:40 +10:00
rsa_sign.c Add RSA sign to the fips provider 2020-03-15 17:38:00 +10:00
rsa_sp800_56b_check.c Make the RSA ASYM_CIPHER implementation available inside the FIPS module 2020-02-13 14:14:30 +00:00
rsa_sp800_56b_gen.c Change DH_get_nid() to set the value of q if it is not already set 2020-03-07 07:47:58 +10:00
rsa_ssl.c Use RAND_bytes_ex in crypto/rsa 2020-03-19 18:49:12 +00:00
rsa_x931.c Deprecate the low level RSA functions. 2020-02-20 18:58:40 +10:00
rsa_x931g.c Deprecate the low level RSA functions. 2020-02-20 18:58:40 +10:00