diff options
author | tb <> | 2024-05-26 09:54:16 +0000 |
---|---|---|
committer | tb <> | 2024-05-26 09:54:16 +0000 |
commit | 09f87a1e448f95c82821ad37370de4fcd8e018e4 (patch) | |
tree | 59c3a839e394cf67e803bcba3ad8e001884a8fc4 /src/lib/libcrypto/man/SHA1.3 | |
parent | deb355068ef89c1a5bb0bba5167616c533877617 (diff) | |
download | openbsd-09f87a1e448f95c82821ad37370de4fcd8e018e4.tar.gz openbsd-09f87a1e448f95c82821ad37370de4fcd8e018e4.tar.bz2 openbsd-09f87a1e448f95c82821ad37370de4fcd8e018e4.zip |
Remove documentation of optional md in one-step hashes
This functionality will be removed, so stop documenting it. Instead
mention that another implementation still supports this.
Diffstat (limited to 'src/lib/libcrypto/man/SHA1.3')
-rw-r--r-- | src/lib/libcrypto/man/SHA1.3 | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/src/lib/libcrypto/man/SHA1.3 b/src/lib/libcrypto/man/SHA1.3 index f5061e56e6..722c10b145 100644 --- a/src/lib/libcrypto/man/SHA1.3 +++ b/src/lib/libcrypto/man/SHA1.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: SHA1.3,v 1.7 2018/03/27 17:35:50 schwarze Exp $ | 1 | .\" $OpenBSD: SHA1.3,v 1.8 2024/05/26 09:54:16 tb Exp $ |
2 | .\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 | 2 | .\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 |
3 | .\" | 3 | .\" |
4 | .\" This file was written by Ulf Moeller <ulf@openssl.org> and | 4 | .\" This file was written by Ulf Moeller <ulf@openssl.org> and |
@@ -49,7 +49,7 @@ | |||
49 | .\" 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 |
50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
51 | .\" | 51 | .\" |
52 | .Dd $Mdocdate: March 27 2018 $ | 52 | .Dd $Mdocdate: May 26 2024 $ |
53 | .Dt SHA1 3 | 53 | .Dt SHA1 3 |
54 | .Os | 54 | .Os |
55 | .Sh NAME | 55 | .Sh NAME |
@@ -195,11 +195,6 @@ and places it in | |||
195 | which must have space for | 195 | which must have space for |
196 | .Dv SHA_DIGEST_LENGTH | 196 | .Dv SHA_DIGEST_LENGTH |
197 | == 20 bytes of output. | 197 | == 20 bytes of output. |
198 | If | ||
199 | .Fa md | ||
200 | is | ||
201 | .Dv NULL , | ||
202 | the digest is placed in a static array, which is not thread safe. | ||
203 | .Pp | 198 | .Pp |
204 | The following functions may be used if the message is not completely | 199 | The following functions may be used if the message is not completely |
205 | stored in memory: | 200 | stored in memory: |
@@ -274,3 +269,16 @@ first appeared in SSLeay 0.5.1 and have been available since | |||
274 | The other functions first appeared in OpenSSL 0.9.8 | 269 | The other functions first appeared in OpenSSL 0.9.8 |
275 | and have been available since | 270 | and have been available since |
276 | .Ox 4.5 . | 271 | .Ox 4.5 . |
272 | .Sh CAVEATS | ||
273 | Other implementations allow | ||
274 | .Fa md | ||
275 | in | ||
276 | .Fn SHA1 , | ||
277 | .Fn SHA224 , | ||
278 | .Fn SHA256 , | ||
279 | .Fn SHA384 , | ||
280 | and | ||
281 | .Fn SHA512 | ||
282 | to be | ||
283 | .Dv NULL | ||
284 | and return a static array, which is not thread safe. | ||