diff options
Diffstat (limited to 'src/lib/libcrypto/man/CMAC_Init.3')
-rw-r--r-- | src/lib/libcrypto/man/CMAC_Init.3 | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/src/lib/libcrypto/man/CMAC_Init.3 b/src/lib/libcrypto/man/CMAC_Init.3 index 81cb8b8f0b..f4143cf451 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.5 2023/12/25 15:52:18 schwarze Exp $ | 1 | .\" $OpenBSD: CMAC_Init.3,v 1.6 2024/03/02 09:30:21 tb 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: December 25 2023 $ | 17 | .Dd $Mdocdate: March 2 2024 $ |
18 | .Dt CMAC_INIT 3 | 18 | .Dt CMAC_INIT 3 |
19 | .Os | 19 | .Os |
20 | .Sh NAME | 20 | .Sh NAME |
@@ -22,7 +22,6 @@ | |||
22 | .Nm CMAC_Init , | 22 | .Nm CMAC_Init , |
23 | .Nm CMAC_Update , | 23 | .Nm CMAC_Update , |
24 | .Nm CMAC_Final , | 24 | .Nm CMAC_Final , |
25 | .Nm CMAC_resume , | ||
26 | .Nm CMAC_CTX_copy , | 25 | .Nm CMAC_CTX_copy , |
27 | .Nm CMAC_CTX_get0_cipher_ctx , | 26 | .Nm CMAC_CTX_get0_cipher_ctx , |
28 | .Nm CMAC_CTX_cleanup , | 27 | .Nm CMAC_CTX_cleanup , |
@@ -52,13 +51,6 @@ | |||
52 | .Fa "unsigned char *out_mac" | 51 | .Fa "unsigned char *out_mac" |
53 | .Fa "size_t *out_len" | 52 | .Fa "size_t *out_len" |
54 | .Fc | 53 | .Fc |
55 | .Ft int | ||
56 | .Fn CMAC_resume "CMAC_CTX *ctx" | ||
57 | .Ft int | ||
58 | .Fo CMAC_CTX_copy | ||
59 | .Fa "CMAC_CTX *out_ctx" | ||
60 | .Fa "CMAC_CTX *in_ctx" | ||
61 | .Fc | ||
62 | .Ft EVP_CIPHER_CTX * | 54 | .Ft EVP_CIPHER_CTX * |
63 | .Fn CMAC_CTX_get0_cipher_ctx "CMAC_CTX *ctx" | 55 | .Fn CMAC_CTX_get0_cipher_ctx "CMAC_CTX *ctx" |
64 | .Ft void | 56 | .Ft void |
@@ -183,19 +175,6 @@ resulting message authentication code to | |||
183 | .Fa out_mac . | 175 | .Fa out_mac . |
184 | The caller is responsible for providing a buffer of sufficient size. | 176 | The caller is responsible for providing a buffer of sufficient size. |
185 | .Pp | 177 | .Pp |
186 | Calling | ||
187 | .Fn CMAC_resume | ||
188 | after | ||
189 | .Fn CMAC_Final | ||
190 | allows the user to subsequently append additional data with | ||
191 | .Fn CMAC_Update . | ||
192 | Otherwise, unless | ||
193 | .Fn CMAC_Init | ||
194 | is called to start from scratch, | ||
195 | .Fn CMAC_Update | ||
196 | can no longer be used after | ||
197 | .Fn CMAC_Final . | ||
198 | .Pp | ||
199 | .Fn CMAC_CTX_copy | 178 | .Fn CMAC_CTX_copy |
200 | performs a deep copy of the already initialized | 179 | performs a deep copy of the already initialized |
201 | .Fa in_ctx | 180 | .Fa in_ctx |
@@ -235,7 +214,6 @@ It succeeds unless memory is exhausted. | |||
235 | .Fn CMAC_Init , | 214 | .Fn CMAC_Init , |
236 | .Fn CMAC_Update , | 215 | .Fn CMAC_Update , |
237 | .Fn CMAC_Final , | 216 | .Fn CMAC_Final , |
238 | .Fn CMAC_resume , | ||
239 | and | 217 | and |
240 | .Fn CMAC_CTX_copy | 218 | .Fn CMAC_CTX_copy |
241 | return 1 on success or 0 on failure. | 219 | return 1 on success or 0 on failure. |