diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/man/EVP_DigestSignInit.3 | 15 | ||||
-rw-r--r-- | src/lib/libcrypto/man/EVP_DigestVerifyInit.3 | 15 |
2 files changed, 24 insertions, 6 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 |
92 | The EVP signature routines are a high level interface to digital | 92 | The EVP signature routines are a high-level interface to digital |
93 | signatures. | 93 | signatures. |
94 | .Pp | 94 | .Pp |
95 | .Fn EVP_DigestSignInit | 95 | .Fn EVP_DigestSignInit |
@@ -115,6 +115,15 @@ the | |||
115 | of the signing operation will be written to | 115 | of the signing operation will be written to |
116 | .Pf * Fa pctx : | 116 | .Pf * Fa pctx : |
117 | this can be used to set alternative signing options. | 117 | this can be used to set alternative signing options. |
118 | Any existing value in | ||
119 | .Pf * Fa pctx | ||
120 | will be overwritten. | ||
121 | The | ||
122 | .Vt EVP_PKEY_CTX | ||
123 | value returned must not be freed directly by the application. | ||
124 | It will be freed automatically when the | ||
125 | .Vt EVP_MD_CTX | ||
126 | is freed. | ||
118 | .Pp | 127 | .Pp |
119 | .Fn EVP_DigestSignUpdate | 128 | .Fn EVP_DigestSignUpdate |
120 | hashes | 129 | hashes |
@@ -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 |
178 | The EVP interface to digital signatures should almost always be | 187 | The EVP interface to digital signatures should almost always be |
179 | used in preference to the low level interfaces. | 188 | used in preference to the low-level interfaces. |
180 | This is because the code then becomes transparent to the algorithm used | 189 | This is because the code then becomes transparent to the algorithm used |
181 | and much more flexible. | 190 | and much more flexible. |
182 | .Pp | 191 | .Pp |
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 |
92 | The EVP signature routines are a high level interface to digital | 92 | The EVP signature routines are a high-level interface to digital |
93 | signatures. | 93 | signatures. |
94 | .Pp | 94 | .Pp |
95 | .Fn EVP_DigestVerifyInit | 95 | .Fn EVP_DigestVerifyInit |
@@ -115,6 +115,15 @@ the | |||
115 | of the verification operation will be written to | 115 | of the verification operation will be written to |
116 | .Pf * Fa pctx : | 116 | .Pf * Fa pctx : |
117 | this can be used to set alternative verification options. | 117 | this can be used to set alternative verification options. |
118 | Any existing value in | ||
119 | .Pf * .Fa pctx | ||
120 | is overwritten. | ||
121 | The | ||
122 | .Vt EVP_PKEY_CTX | ||
123 | value returned must not be freed directly by the application. | ||
124 | It will be freed automatically when the | ||
125 | .Vt EVP_MD_CTX | ||
126 | is freed. | ||
118 | .Pp | 127 | .Pp |
119 | .Fn EVP_DigestVerifyUpdate | 128 | .Fn EVP_DigestVerifyUpdate |
120 | hashes | 129 | hashes |
@@ -144,7 +153,7 @@ bytes at | |||
144 | against the signature in | 153 | against the signature in |
145 | .Fa sig | 154 | .Fa sig |
146 | of length | 155 | of length |
147 | .Fa siglen | 156 | .Fa siglen . |
148 | .Fn EVP_DigestVerify | 157 | .Fn EVP_DigestVerify |
149 | is a one shot operation which verifies a single block of data | 158 | is a one shot operation which verifies a single block of data |
150 | in one function call. | 159 | in one function call. |