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
..
2021-01-28 13:54:57 +01:00
2020-11-26 14:18:57 +00:00
2021-01-28 13:54:57 +01:00
2020-11-26 14:18:57 +00:00
2021-02-12 08:47:32 +00:00
2020-11-26 14:18:57 +00:00
2020-11-26 14:18:57 +00:00
2021-02-12 08:47:32 +00:00
2020-11-11 12:12:23 +01:00
2020-11-18 23:38:34 +01:00
2020-11-11 12:12:23 +01:00
2019-09-28 20:26:35 +02:00
2019-09-28 20:26:35 +02:00
2021-01-28 13:54:57 +01:00
2021-02-12 08:47:32 +00:00