summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/EVP_DigestVerifyInit.3
diff options
context:
space:
mode:
authortb <>2021-05-11 18:57:17 +0000
committertb <>2021-05-11 18:57:17 +0000
commit1e4dd905576ae1e0c6e035e688a23ef47d6a128f (patch)
tree7b77d2827788120343c8c8d361645d0d60cd58ba /src/lib/libcrypto/man/EVP_DigestVerifyInit.3
parente5a050008e44cce8e239c3baab89a39988492822 (diff)
downloadopenbsd-1e4dd905576ae1e0c6e035e688a23ef47d6a128f.tar.gz
openbsd-1e4dd905576ae1e0c6e035e688a23ef47d6a128f.tar.bz2
openbsd-1e4dd905576ae1e0c6e035e688a23ef47d6a128f.zip
Merge some details from OpenSSL 1.1.1.
Diffstat (limited to 'src/lib/libcrypto/man/EVP_DigestVerifyInit.3')
-rw-r--r--src/lib/libcrypto/man/EVP_DigestVerifyInit.315
1 files changed, 12 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/EVP_DigestVerifyInit.3 b/src/lib/libcrypto/man/EVP_DigestVerifyInit.3
index b91d1fb06a..b80a29299c 100644
--- a/src/lib/libcrypto/man/EVP_DigestVerifyInit.3
+++ b/src/lib/libcrypto/man/EVP_DigestVerifyInit.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: EVP_DigestVerifyInit.3,v 1.10 2021/05/11 15:31:13 tb Exp $ 1.\" $OpenBSD: EVP_DigestVerifyInit.3,v 1.11 2021/05/11 18:57:17 tb Exp $
2.\" OpenSSL fb552ac6 Sep 30 23:43:01 2009 +0000 2.\" OpenSSL fb552ac6 Sep 30 23:43:01 2009 +0000
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_DigestVerifyInit 95.Fn EVP_DigestVerifyInit
@@ -115,6 +115,15 @@ the
115of the verification operation will be written to 115of the verification operation will be written to
116.Pf * Fa pctx : 116.Pf * Fa pctx :
117this can be used to set alternative verification options. 117this can be used to set alternative verification options.
118Any existing value in
119.Pf * .Fa pctx
120is 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_DigestVerifyUpdate 128.Fn EVP_DigestVerifyUpdate
120hashes 129hashes
@@ -144,7 +153,7 @@ bytes at
144against the signature in 153against the signature in
145.Fa sig 154.Fa sig
146of length 155of length
147.Fa siglen 156.Fa siglen .
148.Fn EVP_DigestVerify 157.Fn EVP_DigestVerify
149is a one shot operation which verifies a single block of data 158is a one shot operation which verifies a single block of data
150in one function call. 159in one function call.