summaryrefslogtreecommitdiff
path: root/lib/libc/hash/sha1.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/hash/sha1.3')
-rw-r--r--lib/libc/hash/sha1.316
1 files changed, 10 insertions, 6 deletions
diff --git a/lib/libc/hash/sha1.3 b/lib/libc/hash/sha1.3
index 80b553b097c..26582ec6af3 100644
--- a/lib/libc/hash/sha1.3
+++ b/lib/libc/hash/sha1.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sha1.3,v 1.37 2008/02/13 08:43:39 art Exp $
+.\" $OpenBSD: sha1.3,v 1.38 2012/09/27 11:31:57 jmc Exp $
.\"
.\" Copyright (c) 1997, 2004 Todd C. Miller <Todd.Miller@courtesan.com>
.\"
@@ -17,7 +17,7 @@
.\" See http://csrc.nist.gov/publications/fips/fips180-1/fip180-1.txt
.\" for the detailed standard
.\"
-.Dd $Mdocdate: February 13 2008 $
+.Dd $Mdocdate: September 27 2012 $
.Dt SHA1 3
.Os
.Sh NAME
@@ -200,15 +200,19 @@ printf("0x%s\en", SHA1Data(buf, strlen(buf), output));
.Xr md5 3 ,
.Xr rmd160 3 ,
.Xr sha2 3
+.Sh STANDARDS
.Rs
.%A J. Burrows
+.%R FIPS PUB 180-1
.%T The Secure Hash Standard
-.%O FIPS PUB 180-1
.Re
+.Pp
.Rs
-.%A D. Eastlake and P. Jones
-.%T US Secure Hash Algorithm 1
-.%O RFC 3174
+.%A D. Eastlake
+.%A P. Jones
+.%D September 2001
+.%R RFC 3174
+.%T US Secure Hash Algorithm 1 (SHA1)
.Re
.Sh HISTORY
The SHA-1 functions appeared in