From: Tomas Mraz Date: Tue, 24 Feb 2026 07:23:25 +0000 (+0100) Subject: OSSL_HPKE_CTX_new.pod: Correct the valid AEAD names for HPKE X-Git-Tag: openssl-4.0.0-alpha1~139 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3297773b040236baee9e68dd892fd8722b25afa1;p=thirdparty%2Fopenssl.git OSSL_HPKE_CTX_new.pod: Correct the valid AEAD names for HPKE Reviewed-by: Nikola Pajkovsky Reviewed-by: Norbert Pocs Reviewed-by: Matt Caswell MergeDate: Wed Feb 25 08:15:23 2026 (Merged from https://github.com/openssl/openssl/pull/30152) --- diff --git a/doc/man3/OSSL_HPKE_CTX_new.pod b/doc/man3/OSSL_HPKE_CTX_new.pod index 89a6fcafe13..2c100277086 100644 --- a/doc/man3/OSSL_HPKE_CTX_new.pod +++ b/doc/man3/OSSL_HPKE_CTX_new.pod @@ -451,12 +451,12 @@ OSSL_HPKE_get_ciphertext_size() and OSSL_HPKE_get_public_encap_size(). OSSL_HPKE_str2suite() maps input I strings to an B object. The input I should be a comma-separated string with a KEM, -KDF and AEAD name in that order, for example "x25519,hkdf-sha256,aes128gcm". +KDF and AEAD name in that order, for example "x25519,hkdf-sha256,aes-128-gcm". This can be used by command line tools that accept string form names for HPKE codepoints. Valid (case-insensitive) names are: "p-256", "p-384", "p-521", "x25519" and "x448" for KEM, "hkdf-sha256", "hkdf-sha384" and "hkdf-sha512" for KDF, and -"aes-gcm-128", "aes-gcm-256", "chacha20-poly1305" and "exporter" for AEAD. +"aes-128-gcm", "aes-256-gcm", "chacha20-poly1305" and "exporter" for AEAD. String variants of the numbers listed in L can also be used.