From 820d87bc98c254bb36c46891f3fe4e55bd47f2e7 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Thu, 27 Aug 2020 12:52:17 +0100 Subject: Update the EVP_PKEY MAC documentation Include more information about the new HMAC parameter. Also fill in some missing documentation about the EVP_PKEY MAC bridge. Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/12732) --- doc/man7/EVP_SIGNATURE-HMAC.pod | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'doc/man7/EVP_SIGNATURE-HMAC.pod') diff --git a/doc/man7/EVP_SIGNATURE-HMAC.pod b/doc/man7/EVP_SIGNATURE-HMAC.pod index dd74fae88c..6628d9ebc2 100644 --- a/doc/man7/EVP_SIGNATURE-HMAC.pod +++ b/doc/man7/EVP_SIGNATURE-HMAC.pod @@ -2,7 +2,7 @@ =head1 NAME -EVP_SIGNATURE-HMAC, EVP_SIGNATURE-SIPHASH, EVP_SIGNATURE-POLY1305, +EVP_SIGNATURE-HMAC, EVP_SIGNATURE-Siphash, EVP_SIGNATURE-Poly1305, EVP_SIGNATURE-CMAC - The legacy B MAC signature implementations @@ -12,21 +12,29 @@ The algorithms described here have legacy support for creating MACs using L and related functions. This is not the preferred way of creating MACs. Instead you should use the newer L functions. This mechanism is provided for backwards compatibility with older versions of -OpenSSL. +OpenSSL. -There are no parameters supported by the legacy EVP_PKEY MAC signature -algorithms. See L, L, -L or L for details about parameters that -are supported during the creation of an EVP_PKEY. +The same signature parameters can be set using EVP_PKEY_CTX_set_params() as can +be set via EVP_MAC_CTX_set_params() for the underlying EVP_MAC. See +L, L, L and +L for details. + + See L, L, L or + L for details about parameters that are supported during the + creation of an EVP_PKEY. =head1 SEE ALSO L, L, L, -L, -L, +L, +L, L, +L, +L, +L, +L, L, =head1 COPYRIGHT -- cgit v1.2.3