diff options
Diffstat (limited to 'src/lib/libcrypto/man/EVP_DigestSignInit.3')
| -rw-r--r-- | src/lib/libcrypto/man/EVP_DigestSignInit.3 | 41 |
1 files changed, 22 insertions, 19 deletions
diff --git a/src/lib/libcrypto/man/EVP_DigestSignInit.3 b/src/lib/libcrypto/man/EVP_DigestSignInit.3 index 92b656a106..22a0676278 100644 --- a/src/lib/libcrypto/man/EVP_DigestSignInit.3 +++ b/src/lib/libcrypto/man/EVP_DigestSignInit.3 | |||
| @@ -1,8 +1,9 @@ | |||
| 1 | .\" $OpenBSD: EVP_DigestSignInit.3,v 1.13 2024/07/21 08:36:43 tb Exp $ | 1 | .\" $OpenBSD: EVP_DigestSignInit.3,v 1.14 2024/11/08 22:23:35 schwarze Exp $ |
| 2 | .\" OpenSSL 9b86974e Aug 17 15:21:33 2015 -0400 | 2 | .\" full merge up to: OpenSSL 28428130 Apr 17 15:18:40 2018 +0200 |
| 3 | .\" selective merge up to: OpenSSL 6328d367 Jul 4 21:58:30 2020 +0200 | ||
| 3 | .\" | 4 | .\" |
| 4 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. | 5 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. |
| 5 | .\" Copyright (c) 2006, 2009, 2015, 2016 The OpenSSL Project. | 6 | .\" Copyright (c) 2006, 2009, 2015, 2016, 2017 The OpenSSL Project. |
| 6 | .\" All rights reserved. | 7 | .\" All rights reserved. |
| 7 | .\" | 8 | .\" |
| 8 | .\" Redistribution and use in source and binary forms, with or without | 9 | .\" Redistribution and use in source and binary forms, with or without |
| @@ -49,7 +50,7 @@ | |||
| 49 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 50 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
| 50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 51 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
| 51 | .\" | 52 | .\" |
| 52 | .Dd $Mdocdate: July 21 2024 $ | 53 | .Dd $Mdocdate: November 8 2024 $ |
| 53 | .Dt EVP_DIGESTSIGNINIT 3 | 54 | .Dt EVP_DIGESTSIGNINIT 3 |
| 54 | .Os | 55 | .Os |
| 55 | .Sh NAME | 56 | .Sh NAME |
| @@ -97,33 +98,35 @@ sets up the signing context | |||
| 97 | .Fa ctx | 98 | .Fa ctx |
| 98 | to use the digest | 99 | to use the digest |
| 99 | .Fa type | 100 | .Fa type |
| 100 | and private key | 101 | and the private key |
| 101 | .Fa pkey . | 102 | .Fa pkey . |
| 103 | Before calling this function, obtain | ||
| 104 | .Fa ctx | ||
| 105 | from | ||
| 106 | .Xr EVP_MD_CTX_new 3 | ||
| 107 | or call | ||
| 108 | .Xr EVP_MD_CTX_reset 3 | ||
| 109 | on it. | ||
| 102 | The | 110 | The |
| 103 | .Fa ENGINE *engine | 111 | .Fa engine |
| 104 | argument is always ignored and passing | 112 | argument is always ignored and passing |
| 105 | .Dv NULL | 113 | .Dv NULL |
| 106 | is recommended. | 114 | is recommended. |
| 107 | .Fa ctx | 115 | .Pp |
| 108 | must be initialized with | ||
| 109 | .Xr EVP_MD_CTX_init 3 | ||
| 110 | before calling this function. | ||
| 111 | If | 116 | If |
| 112 | .Fa pctx | 117 | .Fa pctx |
| 113 | is not | 118 | is not |
| 114 | .Dv NULL , | 119 | .Dv NULL , |
| 115 | the | 120 | any pointer passed in as |
| 121 | .Pf * Fa pctx | ||
| 122 | is ignored and overwritten by an internal pointer to the | ||
| 116 | .Vt EVP_PKEY_CTX | 123 | .Vt EVP_PKEY_CTX |
| 117 | of the signing operation will be written to | 124 | used by the signing operation: |
| 118 | .Pf * Fa pctx : | ||
| 119 | this can be used to set alternative signing options. | 125 | this can be used to set alternative signing options. |
| 120 | Any existing value in | 126 | The returned |
| 121 | .Pf * Fa pctx | ||
| 122 | will be overwritten. | ||
| 123 | The | ||
| 124 | .Vt EVP_PKEY_CTX | 127 | .Vt EVP_PKEY_CTX |
| 125 | value returned must not be freed directly by the application. | 128 | must not be freed by the application. |
| 126 | It will be freed automatically when the | 129 | It is freed automatically when the |
| 127 | .Vt EVP_MD_CTX | 130 | .Vt EVP_MD_CTX |
| 128 | is freed. | 131 | is freed. |
| 129 | .Pp | 132 | .Pp |
