summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2016-09-04 09:24:38 +0000
committertedu <tedu@openbsd.org>2016-09-04 09:24:38 +0000
commitce278cf19ec917d9634be3dd607b81c77226ad1f (patch)
treef7ffcf1dfb3e56a27a706f2ca26d96f2d46acd3e /lib/libc
parentIntroduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel (diff)
downloadwireguard-openbsd-ce278cf19ec917d9634be3dd607b81c77226ad1f.tar.xz
wireguard-openbsd-ce278cf19ec917d9634be3dd607b81c77226ad1f.zip
remove caveats that are either misleading or unhelpful.
ok jmc naddy
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/hash/rmd160.38
-rw-r--r--lib/libc/hash/sha1.311
-rw-r--r--lib/libc/hash/sha2.311
3 files changed, 6 insertions, 24 deletions
diff --git a/lib/libc/hash/rmd160.3 b/lib/libc/hash/rmd160.3
index ac4251dbea7..3fb75256c7c 100644
--- a/lib/libc/hash/rmd160.3
+++ b/lib/libc/hash/rmd160.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rmd160.3,v 1.37 2016/07/28 03:52:41 tedu Exp $
+.\" $OpenBSD: rmd160.3,v 1.38 2016/09/04 09:24:38 tedu Exp $
.\"
.\" Copyright (c) 1997, 2004 Todd C. Miller <Todd.Miller@courtesan.com>
.\"
@@ -17,7 +17,7 @@
.\" See http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html
.\" for detailed information about RIPEMD-160.
.\"
-.Dd $Mdocdate: July 28 2016 $
+.Dd $Mdocdate: September 4 2016 $
.Dt RMD160INIT 3
.Os
.Sh NAME
@@ -234,7 +234,3 @@ and
.Fn RMD160Data
helper functions are derived from code written by
.An Poul-Henning Kamp .
-.Sh CAVEATS
-If a message digest is to be copied to a multi-byte type (ie:
-an array of five 32-bit integers) it will be necessary to
-perform byte swapping on little endian machines such as the i386 and alpha.
diff --git a/lib/libc/hash/sha1.3 b/lib/libc/hash/sha1.3
index 4154879756a..eeb6d10ae47 100644
--- a/lib/libc/hash/sha1.3
+++ b/lib/libc/hash/sha1.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sha1.3,v 1.43 2016/03/10 08:41:12 jmc Exp $
+.\" $OpenBSD: sha1.3,v 1.44 2016/09/04 09:24:38 tedu 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: March 10 2016 $
+.Dd $Mdocdate: September 4 2016 $
.Dt SHA1INIT 3
.Os
.Sh NAME
@@ -234,10 +234,3 @@ and
.Fn SHA1Data
helper functions are derived from code written by
.An Poul-Henning Kamp .
-.Sh CAVEATS
-This implementation of SHA-1 has not been validated by NIST
-and as such is not in official compliance with the standard.
-.Pp
-If a message digest is to be copied to a multi-byte type (ie:
-an array of five 32-bit integers) it will be necessary to
-perform byte swapping on little endian machines such as the i386 and alpha.
diff --git a/lib/libc/hash/sha2.3 b/lib/libc/hash/sha2.3
index ae85a724b5e..e4821b01347 100644
--- a/lib/libc/hash/sha2.3
+++ b/lib/libc/hash/sha2.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sha2.3,v 1.24 2016/03/10 08:41:12 jmc Exp $
+.\" $OpenBSD: sha2.3,v 1.25 2016/09/04 09:24:38 tedu Exp $
.\"
.\" Copyright (c) 2003, 2004 Todd C. Miller <Todd.Miller@courtesan.com>
.\"
@@ -20,7 +20,7 @@
.\"
.\" See http://www.nist.gov/sha/ for the detailed standard
.\"
-.Dd $Mdocdate: March 10 2016 $
+.Dd $Mdocdate: September 4 2016 $
.Dt SHA256INIT 3
.Os
.Sh NAME
@@ -319,10 +319,3 @@ and
.Fn SHA256Data
helper functions are derived from code written by
.An Poul-Henning Kamp .
-.Sh CAVEATS
-This implementation of the Secure Hash Standard has not been validated by
-NIST and as such is not in official compliance with the standard.
-.Pp
-If a message digest is to be copied to a multi-byte type (i.e.\&
-an array of 32-bit integers) it will be necessary to
-perform byte swapping on little endian machines such as the i386 and alpha.