summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/EVP_DigestSignInit.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/EVP_DigestSignInit.3')
-rw-r--r--src/lib/libcrypto/man/EVP_DigestSignInit.341
1 files changed, 22 insertions, 19 deletions
diff --git a/src/lib/libcrypto/man/EVP_DigestSignInit.3 b/src/lib/libcrypto/man/EVP_DigestSignInit.3
index 92b656a106..22a0676278 100644
--- a/src/lib/libcrypto/man/EVP_DigestSignInit.3
+++ b/src/lib/libcrypto/man/EVP_DigestSignInit.3
@@ -1,8 +1,9 @@
1.\" $OpenBSD: EVP_DigestSignInit.3,v 1.13 2024/07/21 08:36:43 tb Exp $ 1.\" $OpenBSD: EVP_DigestSignInit.3,v 1.14 2024/11/08 22:23:35 schwarze Exp $
2.\" OpenSSL 9b86974e Aug 17 15:21:33 2015 -0400 2.\" full merge up to: OpenSSL 28428130 Apr 17 15:18:40 2018 +0200
3.\" selective merge up to: OpenSSL 6328d367 Jul 4 21:58:30 2020 +0200
3.\" 4.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 5.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
5.\" Copyright (c) 2006, 2009, 2015, 2016 The OpenSSL Project. 6.\" Copyright (c) 2006, 2009, 2015, 2016, 2017 The OpenSSL Project.
6.\" All rights reserved. 7.\" All rights reserved.
7.\" 8.\"
8.\" Redistribution and use in source and binary forms, with or without 9.\" Redistribution and use in source and binary forms, with or without
@@ -49,7 +50,7 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 50.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 51.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 52.\"
52.Dd $Mdocdate: July 21 2024 $ 53.Dd $Mdocdate: November 8 2024 $
53.Dt EVP_DIGESTSIGNINIT 3 54.Dt EVP_DIGESTSIGNINIT 3
54.Os 55.Os
55.Sh NAME 56.Sh NAME
@@ -97,33 +98,35 @@ sets up the signing context
97.Fa ctx 98.Fa ctx
98to use the digest 99to use the digest
99.Fa type 100.Fa type
100and private key 101and the private key
101.Fa pkey . 102.Fa pkey .
103Before calling this function, obtain
104.Fa ctx
105from
106.Xr EVP_MD_CTX_new 3
107or call
108.Xr EVP_MD_CTX_reset 3
109on it.
102The 110The
103.Fa ENGINE *engine 111.Fa engine
104argument is always ignored and passing 112argument is always ignored and passing
105.Dv NULL 113.Dv NULL
106is recommended. 114is recommended.
107.Fa ctx 115.Pp
108must be initialized with
109.Xr EVP_MD_CTX_init 3
110before calling this function.
111If 116If
112.Fa pctx 117.Fa pctx
113is not 118is not
114.Dv NULL , 119.Dv NULL ,
115the 120any pointer passed in as
121.Pf * Fa pctx
122is ignored and overwritten by an internal pointer to the
116.Vt EVP_PKEY_CTX 123.Vt EVP_PKEY_CTX
117of the signing operation will be written to 124used by the signing operation:
118.Pf * Fa pctx :
119this can be used to set alternative signing options. 125this can be used to set alternative signing options.
120Any existing value in 126The returned
121.Pf * Fa pctx
122will be overwritten.
123The
124.Vt EVP_PKEY_CTX 127.Vt EVP_PKEY_CTX
125value returned must not be freed directly by the application. 128must not be freed by the application.
126It will be freed automatically when the 129It is freed automatically when the
127.Vt EVP_MD_CTX 130.Vt EVP_MD_CTX
128is freed. 131is freed.
129.Pp 132.Pp