openssl/providers/implementations/keymgmt
Matt Caswell 899e25643d Implement EVP_PKEY_param_check_quick() and use it in libssl
The low level DH API has two functions for checking parameters:
DH_check_ex() and DH_check_params_ex(). The former does a "full" check,
while the latter does a "quick" check. Most importantly it skips the
check for a safe prime. We're ok without using safe primes here because
we're doing ephemeral DH.

Now that libssl is fully using the EVP API, we need a way to specify that
we want a quick check instead of a full check. Therefore we introduce
EVP_PKEY_param_check_quick() and use it.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14146)
2021-02-15 14:17:36 +10:00
..
build.info Add SM2 private key range validation 2021-01-08 23:59:02 +02:00
dh_kmgmt.c Implement EVP_PKEY_param_check_quick() and use it in libssl 2021-02-15 14:17:36 +10:00
dsa_kmgmt.c Implement EVP_PKEY_param_check_quick() and use it in libssl 2021-02-15 14:17:36 +10:00
ec_kmgmt_imexport.inc [PROV][KMGMT][KEXCH][EC] Implement EC keymgtm and ECDH 2020-02-18 19:11:10 +02:00
ec_kmgmt.c Implement EVP_PKEY_param_check_quick() and use it in libssl 2021-02-15 14:17:36 +10:00
ecx_kmgmt.c Implement EVP_PKEY_param_check_quick() and use it in libssl 2021-02-15 14:17:36 +10:00
kdf_legacy_kmgmt.c Constify OSSL_FUNC_keymgmt_has() 2020-10-22 12:27:39 +10:00
mac_legacy_kmgmt.c Various cleanup of PROV_R_ reason codes 2021-02-11 09:34:31 +01:00
rsa_kmgmt.c Implement EVP_PKEY_param_check_quick() and use it in libssl 2021-02-15 14:17:36 +10:00