summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/SHA1.3
diff options
context:
space:
mode:
authortb <>2024-05-26 09:54:16 +0000
committertb <>2024-05-26 09:54:16 +0000
commit09f87a1e448f95c82821ad37370de4fcd8e018e4 (patch)
tree59c3a839e394cf67e803bcba3ad8e001884a8fc4 /src/lib/libcrypto/man/SHA1.3
parentdeb355068ef89c1a5bb0bba5167616c533877617 (diff)
downloadopenbsd-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.322
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
195which must have space for 195which must have space for
196.Dv SHA_DIGEST_LENGTH 196.Dv SHA_DIGEST_LENGTH
197== 20 bytes of output. 197== 20 bytes of output.
198If
199.Fa md
200is
201.Dv NULL ,
202the digest is placed in a static array, which is not thread safe.
203.Pp 198.Pp
204The following functions may be used if the message is not completely 199The following functions may be used if the message is not completely
205stored in memory: 200stored in memory:
@@ -274,3 +269,16 @@ first appeared in SSLeay 0.5.1 and have been available since
274The other functions first appeared in OpenSSL 0.9.8 269The other functions first appeared in OpenSSL 0.9.8
275and have been available since 270and have been available since
276.Ox 4.5 . 271.Ox 4.5 .
272.Sh CAVEATS
273Other implementations allow
274.Fa md
275in
276.Fn SHA1 ,
277.Fn SHA224 ,
278.Fn SHA256 ,
279.Fn SHA384 ,
280and
281.Fn SHA512
282to be
283.Dv NULL
284and return a static array, which is not thread safe.