From 45611a8a8962c06e1d7ba0e5c00974da17e9c37a Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Tue, 9 Jul 2024 09:17:05 +0200 Subject: [PATCH] Document that DH and DHX key types cannot be used together in KEX Reviewed-by: Paul Dale Reviewed-by: Neil Horman Reviewed-by: Kurt Roeckx (Merged from https://github.com/openssl/openssl/pull/24819) --- doc/man7/EVP_KEYEXCH-DH.pod | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/man7/EVP_KEYEXCH-DH.pod b/doc/man7/EVP_KEYEXCH-DH.pod index bf24a35f98..65e8e42d3f 100644 --- a/doc/man7/EVP_KEYEXCH-DH.pod +++ b/doc/man7/EVP_KEYEXCH-DH.pod @@ -7,9 +7,14 @@ EVP_KEYEXCH-DH =head1 DESCRIPTION -Key exchange support for the B key type. +Key exchange support for the B and B 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 type in key exchange +with the public key of B type and vice versa. + +=head2 DH and DHX key exchange parameters =over 4