From 1aa010093537a0b49facfb9b435b081989b6f08e Mon Sep 17 00:00:00 2001 From: Pauli Date: Fri, 13 Sep 2019 19:32:28 +1000 Subject: [PATCH] Add wording to limit the 'size' parameter to no more than can be specified using a size_t variable Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/9891) --- doc/man3/EVP_MAC.pod | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/man3/EVP_MAC.pod b/doc/man3/EVP_MAC.pod index cf851354e7..4d819b7544 100644 --- a/doc/man3/EVP_MAC.pod +++ b/doc/man3/EVP_MAC.pod @@ -210,13 +210,13 @@ This option is used by KMAC. These will set the MAC flags to the given numbers. Some MACs do not support this option. -=item B ("engine") +=item B ("engine") -=item B ("properties") +=item B ("properties") -=item B ("digest") +=item B ("digest") -=item B ("cipher") +=item B ("cipher") For MAC implementations that use an underlying computation cipher or digest, these parameters set what the algorithm should be, and the @@ -234,7 +234,8 @@ or SHAKE256. For MAC implementations that support it, set the output size that EVP_MAC_final() should produce. -The allowed sizes vary between MAC implementations. +The allowed sizes vary between MAC implementations, but must never exceed +what can be given with a B. =back -- 2.39.2