summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschwarze <>2023-12-25 15:52:18 +0000
committerschwarze <>2023-12-25 15:52:18 +0000
commit2594e6f384c875ce2c2cd2a94d73f19e77244c78 (patch)
tree187e1ba6d9dd9df85ec4bccfa97f2a10570a167a /src
parent0493215736e507189f2f82a62e56794d6e304069 (diff)
downloadopenbsd-2594e6f384c875ce2c2cd2a94d73f19e77244c78.tar.gz
openbsd-2594e6f384c875ce2c2cd2a94d73f19e77244c78.tar.bz2
openbsd-2594e6f384c875ce2c2cd2a94d73f19e77244c78.zip
Clarify that the ENGINE argument is ignored; OK tb@.
While here, also switch the argument placeholder from *impl to *engine as suggested by tb@.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/man/CMAC_Init.321
1 files changed, 10 insertions, 11 deletions
diff --git a/src/lib/libcrypto/man/CMAC_Init.3 b/src/lib/libcrypto/man/CMAC_Init.3
index a938c0db64..81cb8b8f0b 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.4 2020/08/06 22:17:49 schwarze Exp $ 1.\" $OpenBSD: CMAC_Init.3,v 1.5 2023/12/25 15:52:18 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: August 6 2020 $ 17.Dd $Mdocdate: December 25 2023 $
18.Dt CMAC_INIT 3 18.Dt CMAC_INIT 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
@@ -38,7 +38,7 @@
38.Fa "const void *key" 38.Fa "const void *key"
39.Fa "size_t key_len" 39.Fa "size_t key_len"
40.Fa "const EVP_CIPHER *cipher" 40.Fa "const EVP_CIPHER *cipher"
41.Fa "ENGINE *impl" 41.Fa "ENGINE *engine"
42.Fc 42.Fc
43.Ft int 43.Ft int
44.Fo CMAC_Update 44.Fo CMAC_Update
@@ -127,22 +127,21 @@ and initializes
127.Fa ctx 127.Fa ctx
128for subsequently feeding in data with 128for subsequently feeding in data with
129.Fn CMAC_Update . 129.Fn CMAC_Update .
130To use the default cipher implementations provided by the library, pass 130The
131.Fa engine
132argument is ignored; passing
131.Dv NULL 133.Dv NULL
132as the 134is recommended.
133.Fa impl
134argument.
135.Pp 135.Pp
136If 136If
137.Fa ctx 137.Fa ctx
138is already initialized, 138is already initialized,
139.Fn CMAC_Init 139.Fn CMAC_Init
140can be called again with 140can be called again with
141.Fa key , 141.Fa key
142.Fa cipher ,
143and 142and
144.Fa impl 143.Fa cipher
145all set to 144both set to
146.Dv NULL 145.Dv NULL
147and 146and
148.Fa key_len 147.Fa key_len