diff options
author | tb <> | 2022-01-15 09:14:40 +0000 |
---|---|---|
committer | tb <> | 2022-01-15 09:14:40 +0000 |
commit | cd846411a5fdaeeb0f1a8b35a3f9709a26ba77f8 (patch) | |
tree | 88877289a7149ad56fe3f604f7c9c2754bb1a18f /src | |
parent | 9f28dd6ab4280aa8fe3befa3a517f4babcc9fc19 (diff) | |
download | openbsd-cd846411a5fdaeeb0f1a8b35a3f9709a26ba77f8.tar.gz openbsd-cd846411a5fdaeeb0f1a8b35a3f9709a26ba77f8.tar.bz2 openbsd-cd846411a5fdaeeb0f1a8b35a3f9709a26ba77f8.zip |
Update for HMAC_CTX_{init,cleanup} hand HMAC_cleanup removal
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/man/HMAC.3 | 52 |
1 files changed, 2 insertions, 50 deletions
diff --git a/src/lib/libcrypto/man/HMAC.3 b/src/lib/libcrypto/man/HMAC.3 index b76d8b2869..3b8da92574 100644 --- a/src/lib/libcrypto/man/HMAC.3 +++ b/src/lib/libcrypto/man/HMAC.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: HMAC.3,v 1.17 2020/06/24 16:06:27 schwarze Exp $ | 1 | .\" $OpenBSD: HMAC.3,v 1.18 2022/01/15 09:14:40 tb Exp $ |
2 | .\" full merge up to: OpenSSL crypto/hmac a528d4f0 Oct 27 13:40:11 2015 -0400 | 2 | .\" full merge up to: OpenSSL crypto/hmac a528d4f0 Oct 27 13:40:11 2015 -0400 |
3 | .\" selective merge up to: OpenSSL man3/HMAC b3696a55 Sep 2 09:35:50 2017 -0400 | 3 | .\" selective merge up to: OpenSSL man3/HMAC b3696a55 Sep 2 09:35:50 2017 -0400 |
4 | .\" | 4 | .\" |
@@ -52,7 +52,7 @@ | |||
52 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 52 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
53 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 53 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
54 | .\" | 54 | .\" |
55 | .Dd $Mdocdate: June 24 2020 $ | 55 | .Dd $Mdocdate: January 15 2022 $ |
56 | .Dt HMAC 3 | 56 | .Dt HMAC 3 |
57 | .Os | 57 | .Os |
58 | .Sh NAME | 58 | .Sh NAME |
@@ -60,9 +60,6 @@ | |||
60 | .Nm HMAC_CTX_new , | 60 | .Nm HMAC_CTX_new , |
61 | .Nm HMAC_CTX_reset , | 61 | .Nm HMAC_CTX_reset , |
62 | .Nm HMAC_CTX_free , | 62 | .Nm HMAC_CTX_free , |
63 | .Nm HMAC_CTX_init , | ||
64 | .Nm HMAC_CTX_cleanup , | ||
65 | .Nm HMAC_cleanup , | ||
66 | .Nm HMAC_Init_ex , | 63 | .Nm HMAC_Init_ex , |
67 | .Nm HMAC_Init , | 64 | .Nm HMAC_Init , |
68 | .Nm HMAC_Update , | 65 | .Nm HMAC_Update , |
@@ -94,18 +91,6 @@ | |||
94 | .Fo HMAC_CTX_free | 91 | .Fo HMAC_CTX_free |
95 | .Fa "HMAC_CTX *ctx" | 92 | .Fa "HMAC_CTX *ctx" |
96 | .Fc | 93 | .Fc |
97 | .Ft void | ||
98 | .Fo HMAC_CTX_init | ||
99 | .Fa "HMAC_CTX *ctx" | ||
100 | .Fc | ||
101 | .Ft void | ||
102 | .Fo HMAC_CTX_cleanup | ||
103 | .Fa "HMAC_CTX *ctx" | ||
104 | .Fc | ||
105 | .Ft void | ||
106 | .Fo HMAC_cleanup | ||
107 | .Fa "HMAC_CTX *ctx" | ||
108 | .Fc | ||
109 | .Ft int | 94 | .Ft int |
110 | .Fo HMAC_Init_ex | 95 | .Fo HMAC_Init_ex |
111 | .Fa "HMAC_CTX *ctx" | 96 | .Fa "HMAC_CTX *ctx" |
@@ -212,34 +197,6 @@ releases any associated resources, and finally frees | |||
212 | .Fa ctx | 197 | .Fa ctx |
213 | itself. | 198 | itself. |
214 | .Pp | 199 | .Pp |
215 | .Fn HMAC_CTX_init | ||
216 | is a deprecated function to initialize an empty | ||
217 | .Vt HMAC_CTX | ||
218 | object, similar to | ||
219 | .Fn CTX_new | ||
220 | but without the allocation. | ||
221 | Calling it is required for static objects and objects on the stack | ||
222 | before using them. | ||
223 | .Pp | ||
224 | .Fn HMAC_CTX_cleanup | ||
225 | is a deprecated function to erase the key and other data from | ||
226 | .Fa ctx | ||
227 | and release any associated resources, similar to | ||
228 | .Fn HMAC_CTX_free | ||
229 | but without freeing | ||
230 | .Fa ctx | ||
231 | itself. | ||
232 | Calling it is required for static objects and objects on the stack | ||
233 | that were initialized with | ||
234 | .Fn HMAC_CTX_init | ||
235 | and are no longer needed. | ||
236 | .Pp | ||
237 | .Fn HMAC_cleanup | ||
238 | is an alias for | ||
239 | .Fn HMAC_CTX_cleanup | ||
240 | included for backward compatibility with 0.9.6b. | ||
241 | It is deprecated and implemented as a macro. | ||
242 | .Pp | ||
243 | The following functions may be used if the message is not completely | 200 | The following functions may be used if the message is not completely |
244 | stored in memory: | 201 | stored in memory: |
245 | .Pp | 202 | .Pp |
@@ -371,7 +328,6 @@ or 0 on error. | |||
371 | RFC 2104 | 328 | RFC 2104 |
372 | .Sh HISTORY | 329 | .Sh HISTORY |
373 | .Fn HMAC , | 330 | .Fn HMAC , |
374 | .Fn HMAC_cleanup , | ||
375 | .Fn HMAC_Init , | 331 | .Fn HMAC_Init , |
376 | .Fn HMAC_Update , | 332 | .Fn HMAC_Update , |
377 | .Fn HMAC_Final , | 333 | .Fn HMAC_Final , |
@@ -379,10 +335,6 @@ and | |||
379 | .Fn HMAC_size | 335 | .Fn HMAC_size |
380 | first appeared in SSLeay 0.9.0 and have been available since | 336 | first appeared in SSLeay 0.9.0 and have been available since |
381 | .Ox 2.4 . | 337 | .Ox 2.4 . |
382 | .Pp | ||
383 | .Fn HMAC_CTX_init , | ||
384 | .Fn HMAC_CTX_cleanup , | ||
385 | and | ||
386 | .Fn HMAC_Init_ex | 338 | .Fn HMAC_Init_ex |
387 | first appeared in OpenSSL 0.9.7 and have been available since | 339 | first appeared in OpenSSL 0.9.7 and have been available since |
388 | .Ox 3.2 . | 340 | .Ox 3.2 . |