summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2024-06-01 12:35:23 +0000
committertb <>2024-06-01 12:35:23 +0000
commit45b62f0a4612119df43a15cbe60b78e596c58606 (patch)
tree6a4a12875e64a7c4c2b82757f970b857bba19472
parent190b65bcba805bde4d88ae0942543e183a2f3891 (diff)
downloadopenbsd-45b62f0a4612119df43a15cbe60b78e596c58606.tar.gz
openbsd-45b62f0a4612119df43a15cbe60b78e596c58606.tar.bz2
openbsd-45b62f0a4612119df43a15cbe60b78e596c58606.zip
Remove mention of SHA-0, update STANDARDS section
-rw-r--r--src/lib/libcrypto/man/SHA1.317
1 files changed, 9 insertions, 8 deletions
diff --git a/src/lib/libcrypto/man/SHA1.3 b/src/lib/libcrypto/man/SHA1.3
index 722c10b145..4ccb08157c 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.8 2024/05/26 09:54:16 tb Exp $ 1.\" $OpenBSD: SHA1.3,v 1.9 2024/06/01 12:35:23 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: May 26 2024 $ 52.Dd $Mdocdate: June 1 2024 $
53.Dt SHA1 3 53.Dt SHA1 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -237,9 +237,6 @@ bytes.
237Applications should use the higher level functions 237Applications should use the higher level functions
238.Xr EVP_DigestInit 3 238.Xr EVP_DigestInit 3
239etc. instead of calling the hash functions directly. 239etc. instead of calling the hash functions directly.
240.Pp
241The predecessor of SHA-1, SHA, is also implemented, but it should be
242used only when backward compatibility is required.
243.Sh RETURN VALUES 240.Sh RETURN VALUES
244.Fn SHA1 , 241.Fn SHA1 ,
245.Fn SHA224 , 242.Fn SHA224 ,
@@ -254,9 +251,13 @@ The other functions return 1 for success or 0 otherwise.
254.Xr HMAC 3 , 251.Xr HMAC 3 ,
255.Xr RIPEMD160 3 252.Xr RIPEMD160 3
256.Sh STANDARDS 253.Sh STANDARDS
257SHA: US Federal Information Processing Standard FIPS PUB 180 (Secure 254.Rs
258Hash Standard), SHA-1: US Federal Information Processing Standard FIPS 255.%T Secure Hash Standard (SHS)
259PUB 180-1 (Secure Hash Standard), ANSI X9.30 256.%R NIST FIPS Publication
257.%N 180-4
258.%U https://doi.org/10.6028/NIST.FIPS.180-4
259.%D 2015
260.Re
260.Sh HISTORY 261.Sh HISTORY
261.Fn SHA1 , 262.Fn SHA1 ,
262.Fn SHA1_Init , 263.Fn SHA1_Init ,