diff options
author | schwarze <> | 2023-12-25 15:52:18 +0000 |
---|---|---|
committer | schwarze <> | 2023-12-25 15:52:18 +0000 |
commit | 53ad48e811d1b8cc7a91ecfa8145e1f3421a3fa2 (patch) | |
tree | 187e1ba6d9dd9df85ec4bccfa97f2a10570a167a /src/lib | |
parent | 6fa6f1c08bcf2350166093fc8f21d894e801d520 (diff) | |
download | openbsd-53ad48e811d1b8cc7a91ecfa8145e1f3421a3fa2.tar.gz openbsd-53ad48e811d1b8cc7a91ecfa8145e1f3421a3fa2.tar.bz2 openbsd-53ad48e811d1b8cc7a91ecfa8145e1f3421a3fa2.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/lib')
-rw-r--r-- | src/lib/libcrypto/man/CMAC_Init.3 | 21 |
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 |
128 | for subsequently feeding in data with | 128 | for subsequently feeding in data with |
129 | .Fn CMAC_Update . | 129 | .Fn CMAC_Update . |
130 | To use the default cipher implementations provided by the library, pass | 130 | The |
131 | .Fa engine | ||
132 | argument is ignored; passing | ||
131 | .Dv NULL | 133 | .Dv NULL |
132 | as the | 134 | is recommended. |
133 | .Fa impl | ||
134 | argument. | ||
135 | .Pp | 135 | .Pp |
136 | If | 136 | If |
137 | .Fa ctx | 137 | .Fa ctx |
138 | is already initialized, | 138 | is already initialized, |
139 | .Fn CMAC_Init | 139 | .Fn CMAC_Init |
140 | can be called again with | 140 | can be called again with |
141 | .Fa key , | 141 | .Fa key |
142 | .Fa cipher , | ||
143 | and | 142 | and |
144 | .Fa impl | 143 | .Fa cipher |
145 | all set to | 144 | both set to |
146 | .Dv NULL | 145 | .Dv NULL |
147 | and | 146 | and |
148 | .Fa key_len | 147 | .Fa key_len |