summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2012-09-22 20:09:44 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2012-09-22 20:09:44 +0000
commit817180963f03ab2109a0000f12a3401f22589a20 (patch)
tree1584d42bb30a90c20fca8a2d4e22bc00fbfede19 /bin
parentc76adf6f3fc62ab0729e7398c8583c543500f9a4 (diff)
last stage of rfc changes, using consistent Rs/Re blocks, and moving the
references into a STANDARDS section;
Diffstat (limited to 'bin')
-rw-r--r--bin/md5/md5.18
-rw-r--r--bin/md5/sha1.132
2 files changed, 23 insertions, 17 deletions
diff --git a/bin/md5/md5.1 b/bin/md5/md5.1
index 28c764e223d..ec728216ac0 100644
--- a/bin/md5/md5.1
+++ b/bin/md5/md5.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: md5.1,v 1.32 2010/09/03 09:53:20 jmc Exp $
+.\" $OpenBSD: md5.1,v 1.33 2012/09/22 20:09:43 jmc Exp $
.\"
.\" Copyright (c) 2003, 2004, 2006 Todd C. Miller <Todd.Miller@courtesan.com>
.\"
@@ -18,7 +18,7 @@
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\"
-.Dd $Mdocdate: September 3 2010 $
+.Dd $Mdocdate: September 22 2012 $
.Dt MD5 1
.Os
.Sh NAME
@@ -98,10 +98,12 @@ options are processed.
.Xr cksum 1 ,
.Xr sha1 1 ,
.Xr sha256 1
+.Sh STANDARDS
.Rs
.%A R. Rivest
+.%D April 1992
+.%R RFC 1321
.%T The MD5 Message-Digest Algorithm
-.%O RFC 1321
.Re
.Sh CAVEATS
Since collisions have been found for
diff --git a/bin/md5/sha1.1 b/bin/md5/sha1.1
index 184db0da4f6..5829888de8b 100644
--- a/bin/md5/sha1.1
+++ b/bin/md5/sha1.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sha1.1,v 1.30 2012/05/13 16:49:44 jmc Exp $
+.\" $OpenBSD: sha1.1,v 1.31 2012/09/22 20:09:43 jmc Exp $
.\"
.\" Copyright (c) 2003, 2004, 2006 Todd C. Miller <Todd.Miller@courtesan.com>
.\"
@@ -18,7 +18,7 @@
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\"
-.Dd $Mdocdate: May 13 2012 $
+.Dd $Mdocdate: September 22 2012 $
.Dt SHA1 1
.Os
.Sh NAME
@@ -113,22 +113,26 @@ sha256, sha384 and sha512.
.Xr md5 1 ,
.Xr sha256 1
.Rs
-.%A J. Burrows
-.%T The Secure Hash Standard
-.%O FIPS PUB 180-1
-.Re
-.Rs
-.%A D. Eastlake and P. Jones
-.%T US Secure Hash Algorithm 1
-.%O RFC 3174
-.Re
-.Rs
.%A X. Wang
.%A Y. Yin
.%A H. Yu
-.%T Finding Collisions in the Full SHA-1
-.%J Crypto
.%D 2005
+.%J Crypto
+.%T Finding Collisions in the Full SHA-1
+.Re
+.Sh STANDARDS
+.Rs
+.%A J. Burrows
+.%O FIPS PUB 180-1
+.%T The Secure Hash Standard
+.Re
+.Pp
+.Rs
+.%A D. Eastlake
+.%A P. Jones
+.%D September 2001
+.%R RFC 3174
+.%T US Secure Hash Algorithm 1 (SHA1)
.Re
.Sh CAVEATS
Theoretical attacks that significantly reduce the amount of time needed