aboutsummaryrefslogtreecommitdiffstats
path: root/doc/man7/EVP_MAC-CMAC.pod
diff options
context:
space:
mode:
authorJames Muir <james@openssl.org>2023-11-17 17:58:24 -0500
committerRichard Levitte <levitte@openssl.org>2023-11-22 10:51:10 +0100
commit1750689767cc922bdbe73358f7256475f0838c67 (patch)
treea4198a9545545414439ff9a1743d6c90d7d20f20 /doc/man7/EVP_MAC-CMAC.pod
parentf1bea887ef17802a2d83e9289e812c00fd0f0523 (diff)
downloadopenssl-1750689767cc922bdbe73358f7256475f0838c67.tar.gz
doc: fix description of mac "block-size" parameter
The macro for "block-size" is OSSL_MAC_PARAM_BLOCK_SIZE, and this parameter is not settable. Refer to the "customization string" rather than the "custom value" (in the Blake2 spec, this is called the personalization string). Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22763)
Diffstat (limited to 'doc/man7/EVP_MAC-CMAC.pod')
-rw-r--r--doc/man7/EVP_MAC-CMAC.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/man7/EVP_MAC-CMAC.pod b/doc/man7/EVP_MAC-CMAC.pod
index 3fb530c4cf..44c5fc7c44 100644
--- a/doc/man7/EVP_MAC-CMAC.pod
+++ b/doc/man7/EVP_MAC-CMAC.pod
@@ -63,7 +63,7 @@ The length of the "size" parameter is equal to that of an B<unsigned int>.
=over 4
-=item "block-size" (B<OSSL_MAC_PARAM_SIZE>) <unsigned integer>
+=item "block-size" (B<OSSL_MAC_PARAM_BLOCK_SIZE>) <unsigned integer>
Gets the MAC block size. The "block-size" parameter can also be retrieved with
EVP_MAC_CTX_get_block_size().