diff options
author | 2020-08-06 15:40:29 +0000 | |
---|---|---|
committer | 2020-08-06 15:40:29 +0000 | |
commit | 9409ab67e2bf28346f445b89b98e5b121024ec4c (patch) | |
tree | b50853d291b0d9d426c767204da55b1806a000ad | |
parent | Remove duplicate comment. (diff) | |
download | wireguard-openbsd-9409ab67e2bf28346f445b89b98e5b121024ec4c.tar.xz wireguard-openbsd-9409ab67e2bf28346f445b89b98e5b121024ec4c.zip |
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@
-rw-r--r-- | lib/libcrypto/man/CMAC_Init.3 | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/libcrypto/man/CMAC_Init.3 b/lib/libcrypto/man/CMAC_Init.3 index 667ce1dce22..79f8c888382 100644 --- a/lib/libcrypto/man/CMAC_Init.3 +++ b/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 <schwarze@openbsd.org> .\" @@ -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 |