Document that DH and DHX key types cannot be used together in KEX

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/24819)
This commit is contained in:
Tomas Mraz 2024-07-09 09:17:05 +02:00
parent ce6b2f9826
commit 45611a8a89

View File

@ -7,9 +7,14 @@ EVP_KEYEXCH-DH
=head1 DESCRIPTION
Key exchange support for the B<DH> key type.
Key exchange support for the B<DH> and B<DHX> key types.
=head2 DH key exchange parameters
Please note that although both key types support the same key exchange
operations, they cannot be used together in a single key exchange. It
is not possible to use a private key of the B<DH> type in key exchange
with the public key of B<DHX> type and vice versa.
=head2 DH and DHX key exchange parameters
=over 4