summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/man/EVP_PKEY_CTX_ctrl.318
1 files changed, 15 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/EVP_PKEY_CTX_ctrl.3 b/src/lib/libcrypto/man/EVP_PKEY_CTX_ctrl.3
index fe70acd03d..137e576c46 100644
--- a/src/lib/libcrypto/man/EVP_PKEY_CTX_ctrl.3
+++ b/src/lib/libcrypto/man/EVP_PKEY_CTX_ctrl.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: EVP_PKEY_CTX_ctrl.3,v 1.27 2024/12/06 14:27:49 schwarze Exp $ 1.\" $OpenBSD: EVP_PKEY_CTX_ctrl.3,v 1.28 2024/12/10 14:54:20 schwarze Exp $
2.\" full merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 2.\" full merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
3.\" selective merge up to: OpenSSL 24a535ea Sep 22 13:14:20 2020 +0100 3.\" selective merge up to: OpenSSL 24a535ea Sep 22 13:14:20 2020 +0100
4.\" Parts were split out into RSA_pkey_ctx_ctrl(3). 4.\" Parts were split out into RSA_pkey_ctx_ctrl(3).
@@ -6,7 +6,7 @@
6.\" This file is a derived work. 6.\" This file is a derived work.
7.\" The changes are covered by the following Copyright and license: 7.\" The changes are covered by the following Copyright and license:
8.\" 8.\"
9.\" Copyright (c) 2019, 2023 Ingo Schwarze <schwarze@openbsd.org> 9.\" Copyright (c) 2019, 2023, 2024 Ingo Schwarze <schwarze@openbsd.org>
10.\" 10.\"
11.\" Permission to use, copy, modify, and distribute this software for any 11.\" Permission to use, copy, modify, and distribute this software for any
12.\" purpose with or without fee is hereby granted, provided that the above 12.\" purpose with or without fee is hereby granted, provided that the above
@@ -69,7 +69,7 @@
69.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 69.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
70.\" OF THE POSSIBILITY OF SUCH DAMAGE. 70.\" OF THE POSSIBILITY OF SUCH DAMAGE.
71.\" 71.\"
72.Dd $Mdocdate: December 6 2024 $ 72.Dd $Mdocdate: December 10 2024 $
73.Dt EVP_PKEY_CTX_CTRL 3 73.Dt EVP_PKEY_CTX_CTRL 3
74.Os 74.Os
75.Sh NAME 75.Sh NAME
@@ -484,6 +484,18 @@ and
484.Xr EVP_DigestSign 3 484.Xr EVP_DigestSign 3
485as usual. 485as usual.
486.El 486.El
487.Ss HMAC parameters
488Application programs normally implement HMAC as described in
489.Xr EVP_PKEY_new_raw_private_key 3 .
490While it is possible to instead use
491.Dv EVP_PKEY_CTRL_SET_MAC_KEY
492directly, similar to the above description for CMAC,
493that is strongly discouraged.
494It's essentially what the deprecated function
495.Xr EVP_PKEY_new_mac_key 3
496does internally, and compared to the direct approach with
497.Xr EVP_PKEY_new_raw_private_key 3 ,
498it requires a lot of cumbersome and unnecessary work.
487.Ss Other parameters 499.Ss Other parameters
488The 500The
489.Fn EVP_PKEY_CTX_set1_id , 501.Fn EVP_PKEY_CTX_set1_id ,