openssl/crypto/ec
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
..
asm Also check for errors in x86_64-xlate.pl. 2020-02-17 12:17:53 +10:00
curve448 Implement provider support for Ed25519 annd Ed448 2020-03-09 07:59:15 +00:00
build.info Add ECDSA to providers 2020-03-15 21:34:29 +10:00
curve25519.c Implement a stricter ECX_KEY type 2020-02-11 22:32:47 +00:00
ec2_oct.c Deprecate the ECDSA and EV_KEY_METHOD functions. 2020-02-04 20:02:55 +10:00
ec2_smpl.c Deprecate the ECDSA and EV_KEY_METHOD functions. 2020-02-04 20:02:55 +10:00
ec_ameth.c DH, DSA, EC_KEY: Fix exporters to allow domain parameter keys 2020-03-23 10:07:38 +01:00
ec_asn1.c [PROV][KMGMT][KEXCH][EC] Implement EC keymgtm and ECDH 2020-02-18 19:11:10 +02:00
ec_check.c Add EC key validation to default provider 2020-03-12 07:14:32 +10:00
ec_curve.c Add ECDH to fips provider 2020-03-12 07:36:04 +10:00
ec_cvt.c Deprecate the ECDSA and EV_KEY_METHOD functions. 2020-02-04 20:02:55 +10:00
ec_err.c
ec_evp_lib.c [PROV][KMGMT][KEXCH][EC] Implement EC keymgtm and ECDH 2020-02-18 19:11:10 +02:00
ec_key.c Add ECDH to fips provider 2020-03-12 07:36:04 +10:00
ec_kmeth.c
ec_lib.c Add ECDH to fips provider 2020-03-12 07:36:04 +10:00
ec_local.h Implement provider support for Ed25519 annd Ed448 2020-03-09 07:59:15 +00:00
ec_mult.c Deprecate the ECDSA and EV_KEY_METHOD functions. 2020-02-04 20:02:55 +10:00
ec_oct.c Deprecate the ECDSA and EV_KEY_METHOD functions. 2020-02-04 20:02:55 +10:00
ec_pmeth.c
ec_print.c Deprecate the ECDSA and EV_KEY_METHOD functions. 2020-02-04 20:02:55 +10:00
ecdh_kdf.c Params: change UTF8 construct calls to avoid explicit strlen(3) calls. 2020-02-06 16:22:00 +10:00
ecdh_ossl.c Deprecate the ECDSA and EV_KEY_METHOD functions. 2020-02-04 20:02:55 +10:00
ecdsa_aid.c Add ECDSA to providers 2020-03-15 21:34:29 +10:00
ecdsa_ossl.c Deprecate the ECDSA and EV_KEY_METHOD functions. 2020-02-04 20:02:55 +10:00
ecdsa_sign.c Deprecate the ECDSA and EV_KEY_METHOD functions. 2020-02-04 20:02:55 +10:00
ecdsa_vrf.c Deprecate the ECDSA and EV_KEY_METHOD functions. 2020-02-04 20:02:55 +10:00
eck_prn.c
ecp_mont.c Deprecate the ECDSA and EV_KEY_METHOD functions. 2020-02-04 20:02:55 +10:00
ecp_nist.c Deprecate the ECDSA and EV_KEY_METHOD functions. 2020-02-04 20:02:55 +10:00
ecp_nistp224.c Deprecate the ECDSA and EV_KEY_METHOD functions. 2020-02-04 20:02:55 +10:00
ecp_nistp256.c Fix comment placement in ecp_nistp256.ci 2020-02-28 00:39:18 +01:00
ecp_nistp521.c Deprecate the ECDSA and EV_KEY_METHOD functions. 2020-02-04 20:02:55 +10:00
ecp_nistputil.c Deprecate the ECDSA and EV_KEY_METHOD functions. 2020-02-04 20:02:55 +10:00
ecp_nistz256_table.c
ecp_nistz256.c Deprecate the ECDSA and EV_KEY_METHOD functions. 2020-02-04 20:02:55 +10:00
ecp_oct.c Deprecate the ECDSA and EV_KEY_METHOD functions. 2020-02-04 20:02:55 +10:00
ecp_s390x_nistp.c Add pairwise consistency self tests to asym keygenerators 2020-03-03 14:02:36 +10:00
ecp_smpl.c Deprecate the ECDSA and EV_KEY_METHOD functions. 2020-02-04 20:02:55 +10:00
ecx_key.c Implement serializers for ED25519 and ED448 2020-03-18 08:40:33 +10:00
ecx_meth.c DH, DSA, EC_KEY: Fix exporters to allow domain parameter keys 2020-03-23 10:07:38 +01:00