From c735b1c330ecf954f5ea8a8c897d97d66314fa34 Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Thu, 6 Aug 2020 15:40:29 +0000 Subject: Explain the purpose of CMAC_resume(3) in more detail. Triggered by jmc@ apparently misunderstanding the intention of the text and fixing a grammatical error in a way that wasn't ideal, so i guess he wouldn't have been the only one to find the previous version hard to understand. OK jmc@ --- src/lib/libcrypto/man/CMAC_Init.3 | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/man/CMAC_Init.3 b/src/lib/libcrypto/man/CMAC_Init.3 index 667ce1dce2..79f8c88838 100644 --- a/src/lib/libcrypto/man/CMAC_Init.3 +++ b/src/lib/libcrypto/man/CMAC_Init.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: CMAC_Init.3,v 1.2 2020/07/24 16:38:47 jmc Exp $ +.\" $OpenBSD: CMAC_Init.3,v 1.3 2020/08/06 15:40:29 schwarze Exp $ .\" .\" Copyright (c) 2020 Ingo Schwarze .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: July 24 2020 $ +.Dd $Mdocdate: August 6 2020 $ .Dt CMAC_INIT 3 .Os .Sh NAME @@ -188,8 +188,14 @@ Calling .Fn CMAC_resume after .Fn CMAC_Final -subsequently appends additional data with +allows the user to subsequently append additional data with .Fn CMAC_Update . +Otherwise, unless +.Fn CMAC_Init +is called to start over from scratch, +.Fn CMAC_Update +can no longer be used after +.Fn CMAC_Final . .Pp .Fn CMAC_CTX_copy performs a deep copy of the already initialized -- cgit v1.2.3-55-g6feb