diff options
author | tb <> | 2024-06-01 12:35:23 +0000 |
---|---|---|
committer | tb <> | 2024-06-01 12:35:23 +0000 |
commit | 9f06266b4010c7eb85fbf0583880673c481fe104 (patch) | |
tree | 6a4a12875e64a7c4c2b82757f970b857bba19472 | |
parent | 68c7beb2c6e5861de9bfb00a080c0864b211fd3c (diff) | |
download | openbsd-9f06266b4010c7eb85fbf0583880673c481fe104.tar.gz openbsd-9f06266b4010c7eb85fbf0583880673c481fe104.tar.bz2 openbsd-9f06266b4010c7eb85fbf0583880673c481fe104.zip |
Remove mention of SHA-0, update STANDARDS section
-rw-r--r-- | src/lib/libcrypto/man/SHA1.3 | 17 |
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. | |||
237 | Applications should use the higher level functions | 237 | Applications should use the higher level functions |
238 | .Xr EVP_DigestInit 3 | 238 | .Xr EVP_DigestInit 3 |
239 | etc. instead of calling the hash functions directly. | 239 | etc. instead of calling the hash functions directly. |
240 | .Pp | ||
241 | The predecessor of SHA-1, SHA, is also implemented, but it should be | ||
242 | used 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 |
257 | SHA: US Federal Information Processing Standard FIPS PUB 180 (Secure | 254 | .Rs |
258 | Hash Standard), SHA-1: US Federal Information Processing Standard FIPS | 255 | .%T Secure Hash Standard (SHS) |
259 | PUB 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 , |