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
..
2019-10-11 15:30:57 +02:00
2021-01-28 13:54:57 +01:00
2020-05-27 00:35:00 +02:00
2021-01-28 13:54:57 +01:00
2020-06-17 11:33:16 +10:00
2020-08-07 14:16:47 +10:00
2020-07-16 14:47:04 +02:00
2020-06-25 14:13:12 +01:00
2021-01-28 13:54:57 +01:00
2019-10-11 15:30:57 +02:00
2019-10-11 15:30:57 +02:00
2020-04-23 13:55:52 +01:00
2021-01-28 13:54:57 +01:00
2021-01-28 13:54:57 +01:00
2021-01-28 16:05:50 +01:00
2021-01-28 13:54:57 +01:00
2020-06-04 14:33:57 +01:00
2020-10-15 14:10:06 +01:00
2019-11-06 19:38:32 +01:00
2020-07-24 22:53:27 +10:00
2020-04-23 13:55:52 +01:00