openssl/include
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
..
crypto Implement EVP_PKEY_param_check_quick() and use it in libssl 2021-02-15 14:17:36 +10:00
internal include/internal: add a few missing #pragma once directives 2021-02-10 23:20:58 +01:00
openssl Implement EVP_PKEY_param_check_quick() and use it in libssl 2021-02-15 14:17:36 +10:00