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.315
1 files changed, 12 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/EVP_DigestSignInit.3 b/src/lib/libcrypto/man/EVP_DigestSignInit.3
index 8f5f99f940..d5d85dd411 100644
--- a/src/lib/libcrypto/man/EVP_DigestSignInit.3
+++ b/src/lib/libcrypto/man/EVP_DigestSignInit.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: EVP_DigestSignInit.3,v 1.8 2021/05/11 15:14:56 tb Exp $ 1.\" $OpenBSD: EVP_DigestSignInit.3,v 1.9 2021/05/11 18:57:17 tb Exp $
2.\" OpenSSL 9b86974e Aug 17 15:21:33 2015 -0400 2.\" OpenSSL 9b86974e Aug 17 15:21:33 2015 -0400
3.\" 3.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -89,7 +89,7 @@
89.Fa "size_t tbslen" 89.Fa "size_t tbslen"
90.Fc 90.Fc
91.Sh DESCRIPTION 91.Sh DESCRIPTION
92The EVP signature routines are a high level interface to digital 92The EVP signature routines are a high-level interface to digital
93signatures. 93signatures.
94.Pp 94.Pp
95.Fn EVP_DigestSignInit 95.Fn EVP_DigestSignInit
@@ -115,6 +115,15 @@ the
115of the signing operation will be written to 115of the signing operation will be written to
116.Pf * Fa pctx : 116.Pf * Fa pctx :
117this can be used to set alternative signing options. 117this can be used to set alternative signing options.
118Any existing value in
119.Pf * Fa pctx
120will be overwritten.
121The
122.Vt EVP_PKEY_CTX
123value returned must not be freed directly by the application.
124It will be freed automatically when the
125.Vt EVP_MD_CTX
126is freed.
118.Pp 127.Pp
119.Fn EVP_DigestSignUpdate 128.Fn EVP_DigestSignUpdate
120hashes 129hashes
@@ -176,7 +185,7 @@ and
176.\" it is the only way to sign data. 185.\" it is the only way to sign data.
177.Pp 186.Pp
178The EVP interface to digital signatures should almost always be 187The EVP interface to digital signatures should almost always be
179used in preference to the low level interfaces. 188used in preference to the low-level interfaces.
180This is because the code then becomes transparent to the algorithm used 189This is because the code then becomes transparent to the algorithm used
181and much more flexible. 190and much more flexible.
182.Pp 191.Pp