diff options
Diffstat (limited to 'src/lib/libcrypto/man/EVP_VerifyInit.3')
-rw-r--r-- | src/lib/libcrypto/man/EVP_VerifyInit.3 | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/src/lib/libcrypto/man/EVP_VerifyInit.3 b/src/lib/libcrypto/man/EVP_VerifyInit.3 index dfebe8f2bf..0baadfb9fb 100644 --- a/src/lib/libcrypto/man/EVP_VerifyInit.3 +++ b/src/lib/libcrypto/man/EVP_VerifyInit.3 | |||
@@ -1,6 +1,5 @@ | |||
1 | .\" $OpenBSD: EVP_VerifyInit.3,v 1.12 2024/07/21 08:36:43 tb Exp $ | 1 | .\" $OpenBSD: EVP_VerifyInit.3,v 1.13 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 24a535ea Sep 22 13:14:20 2020 +0100 |
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, 2001, 2006, 2016 The OpenSSL Project. | 5 | .\" Copyright (c) 2000, 2001, 2006, 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_VERIFYINIT 3 | 53 | .Dt EVP_VERIFYINIT 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 |
89 | The EVP signature verification routines are a high level interface to | 88 | The EVP signature verification routines are a high-level interface to |
90 | digital signatures. | 89 | digital signatures. |
91 | .Pp | 90 | .Pp |
92 | .Fn EVP_VerifyInit_ex | 91 | .Fn EVP_VerifyInit_ex |
93 | sets up a verification context | 92 | sets up the verification context |
94 | .Fa ctx | 93 | .Fa ctx |
95 | to use the digest | 94 | to use the digest |
96 | .Fa type . | 95 | .Fa type . |
96 | Before calling this function, obtain | ||
97 | .Fa ctx | 97 | .Fa ctx |
98 | must be initialized by calling | 98 | from |
99 | .Xr EVP_MD_CTX_init 3 | 99 | .Xr EVP_MD_CTX_new 3 |
100 | before calling this function. | 100 | or call |
101 | .Xr EVP_MD_CTX_reset 3 | ||
102 | on it. | ||
101 | The | 103 | The |
102 | .Fa ENGINE *engine | 104 | .Fa engine |
103 | argument is always ignored and passing | 105 | argument is always ignored and passing |
104 | .Dv NULL | 106 | .Dv NULL |
105 | is recommended. | 107 | is recommended. |
@@ -132,7 +134,7 @@ to use the default implementation of digest | |||
132 | .Fa type . | 134 | .Fa type . |
133 | .Pp | 135 | .Pp |
134 | The EVP interface to digital signatures should almost always be | 136 | The EVP interface to digital signatures should almost always be |
135 | used in preference to the low level interfaces. | 137 | used in preference to the low-level interfaces. |
136 | This is because the code then becomes transparent to the algorithm used | 138 | This is because the code then becomes transparent to the algorithm used |
137 | and much more flexible. | 139 | and much more flexible. |
138 | .Pp | 140 | .Pp |