summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/EVP_SignInit.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/EVP_SignInit.3')
-rw-r--r--src/lib/libcrypto/man/EVP_SignInit.324
1 files changed, 13 insertions, 11 deletions
diff --git a/src/lib/libcrypto/man/EVP_SignInit.3 b/src/lib/libcrypto/man/EVP_SignInit.3
index 6064bc7940..9a6c743876 100644
--- a/src/lib/libcrypto/man/EVP_SignInit.3
+++ b/src/lib/libcrypto/man/EVP_SignInit.3
@@ -1,6 +1,5 @@
1.\" $OpenBSD: EVP_SignInit.3,v 1.19 2024/07/21 09:24:07 tb Exp $ 1.\" $OpenBSD: EVP_SignInit.3,v 1.20 2024/11/08 22:23:35 schwarze Exp $
2.\" full merge up to: OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 2.\" full merge up to: OpenSSL 6328d367 Jul 4 21:58:30 2020 +0200
3.\" selective merge up to: OpenSSL 79b49fb0 Mar 20 10:03:10 2018 +1000
4.\" 3.\"
5.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
6.\" Copyright (c) 2000-2002, 2005, 2006, 2014-2016 The OpenSSL Project. 5.\" Copyright (c) 2000-2002, 2005, 2006, 2014-2016 The OpenSSL Project.
@@ -50,7 +49,7 @@
50.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
51.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
52.\" 51.\"
53.Dd $Mdocdate: July 21 2024 $ 52.Dd $Mdocdate: November 8 2024 $
54.Dt EVP_SIGNINIT 3 53.Dt EVP_SIGNINIT 3
55.Os 54.Os
56.Sh NAME 55.Sh NAME
@@ -86,20 +85,23 @@
86.Fa "const EVP_MD *type" 85.Fa "const EVP_MD *type"
87.Fc 86.Fc
88.Sh DESCRIPTION 87.Sh DESCRIPTION
89The EVP signature routines are a high level interface to digital 88The EVP signature routines are a high-level interface to digital
90signatures. 89signatures.
91.Pp 90.Pp
92.Fn EVP_SignInit_ex 91.Fn EVP_SignInit_ex
93sets up a signing context 92sets up the signing context
94.Fa ctx 93.Fa ctx
95to use the digest 94to use the digest
96.Fa type . 95.Fa type .
96Before calling this function, obtain
97.Fa ctx 97.Fa ctx
98must be initialized with 98from
99.Xr EVP_MD_CTX_init 3 99.Xr EVP_MD_CTX_new 3
100before calling this function. 100or call
101.Xr EVP_MD_CTX_reset 3
102on it.
101The 103The
102.Fa ENGINE *engine 104.Fa engine
103argument is always ignored and passing 105argument is always ignored and passing
104.Dv NULL 106.Dv NULL
105is recommended. 107is recommended.
@@ -142,7 +144,7 @@ to use the default implementation of digest
142.Fa type . 144.Fa type .
143.Pp 145.Pp
144The EVP interface to digital signatures should almost always be 146The EVP interface to digital signatures should almost always be
145used in preference to the low level interfaces. 147used in preference to the low-level interfaces.
146This is because the code then becomes transparent to the algorithm used 148This is because the code then becomes transparent to the algorithm used
147and much more flexible. 149and much more flexible.
148.Pp 150.Pp