summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschwarze <>2020-08-06 15:40:29 +0000
committerschwarze <>2020-08-06 15:40:29 +0000
commitc735b1c330ecf954f5ea8a8c897d97d66314fa34 (patch)
treeacc7757663ad624ac0f65443ec7ee52232012962 /src
parenteb13f5be1795c5eedef2e11e3bbe0872fd6c88d2 (diff)
downloadopenbsd-c735b1c330ecf954f5ea8a8c897d97d66314fa34.tar.gz
openbsd-c735b1c330ecf954f5ea8a8c897d97d66314fa34.tar.bz2
openbsd-c735b1c330ecf954f5ea8a8c897d97d66314fa34.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@
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/man/CMAC_Init.312
1 files changed, 9 insertions, 3 deletions
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 @@
1.\" $OpenBSD: CMAC_Init.3,v 1.2 2020/07/24 16:38:47 jmc Exp $ 1.\" $OpenBSD: CMAC_Init.3,v 1.3 2020/08/06 15:40:29 schwarze Exp $
2.\" 2.\"
3.\" Copyright (c) 2020 Ingo Schwarze <schwarze@openbsd.org> 3.\" Copyright (c) 2020 Ingo Schwarze <schwarze@openbsd.org>
4.\" 4.\"
@@ -14,7 +14,7 @@
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\" 16.\"
17.Dd $Mdocdate: July 24 2020 $ 17.Dd $Mdocdate: August 6 2020 $
18.Dt CMAC_INIT 3 18.Dt CMAC_INIT 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
@@ -188,8 +188,14 @@ Calling
188.Fn CMAC_resume 188.Fn CMAC_resume
189after 189after
190.Fn CMAC_Final 190.Fn CMAC_Final
191subsequently appends additional data with 191allows the user to subsequently append additional data with
192.Fn CMAC_Update . 192.Fn CMAC_Update .
193Otherwise, unless
194.Fn CMAC_Init
195is called to start over from scratch,
196.Fn CMAC_Update
197can no longer be used after
198.Fn CMAC_Final .
193.Pp 199.Pp
194.Fn CMAC_CTX_copy 200.Fn CMAC_CTX_copy
195performs a deep copy of the already initialized 201performs a deep copy of the already initialized