diff options
Diffstat (limited to 'src/lib/libcrypto/man/EVP_SignInit.3')
| -rw-r--r-- | src/lib/libcrypto/man/EVP_SignInit.3 | 24 |
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 |
| 89 | The EVP signature routines are a high level interface to digital | 88 | The EVP signature routines are a high-level interface to digital |
| 90 | signatures. | 89 | signatures. |
| 91 | .Pp | 90 | .Pp |
| 92 | .Fn EVP_SignInit_ex | 91 | .Fn EVP_SignInit_ex |
| 93 | sets up a signing context | 92 | sets up the signing 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 with | 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. |
| @@ -142,7 +144,7 @@ to use the default implementation of digest | |||
| 142 | .Fa type . | 144 | .Fa type . |
| 143 | .Pp | 145 | .Pp |
| 144 | The EVP interface to digital signatures should almost always be | 146 | The EVP interface to digital signatures should almost always be |
| 145 | used in preference to the low level interfaces. | 147 | used in preference to the low-level interfaces. |
| 146 | This is because the code then becomes transparent to the algorithm used | 148 | This is because the code then becomes transparent to the algorithm used |
| 147 | and much more flexible. | 149 | and much more flexible. |
| 148 | .Pp | 150 | .Pp |
