]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Document that DH and DHX key types cannot be used together in KEX
authorTomas Mraz <tomas@openssl.org>
Tue, 9 Jul 2024 07:17:05 +0000 (09:17 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 17 Jul 2024 14:39:00 +0000 (16:39 +0200)
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)

doc/man7/EVP_KEYEXCH-DH.pod

index bf24a35f987dc2515472514fd6bb17626ef92928..65e8e42d3f33b9a9c87df1788bbb74eb7195efab 100644 (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