Browse Source

remove caveats that are either misleading or unhelpful.

ok jmc naddy
OPENBSD_6_1
tedu 8 years ago
parent
commit
676996bb23
3 changed files with 6 additions and 24 deletions
  1. +2
    -6
      src/lib/libc/hash/rmd160.3
  2. +2
    -9
      src/lib/libc/hash/sha1.3
  3. +2
    -9
      src/lib/libc/hash/sha2.3

+ 2
- 6
src/lib/libc/hash/rmd160.3 View File

@ -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> .\" 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 .\" See http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html
.\" for detailed information about RIPEMD-160. .\" for detailed information about RIPEMD-160.
.\" .\"
.Dd $Mdocdate: July 28 2016 $
.Dd $Mdocdate: September 4 2016 $
.Dt RMD160INIT 3 .Dt RMD160INIT 3
.Os .Os
.Sh NAME .Sh NAME
@ -234,7 +234,3 @@ and
.Fn RMD160Data .Fn RMD160Data
helper functions are derived from code written by helper functions are derived from code written by
.An Poul-Henning Kamp . .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.

+ 2
- 9
src/lib/libc/hash/sha1.3 View File

@ -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> .\" 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 .\" See http://csrc.nist.gov/publications/fips/fips180-1/fip180-1.txt
.\" for the detailed standard .\" for the detailed standard
.\" .\"
.Dd $Mdocdate: March 10 2016 $
.Dd $Mdocdate: September 4 2016 $
.Dt SHA1INIT 3 .Dt SHA1INIT 3
.Os .Os
.Sh NAME .Sh NAME
@ -234,10 +234,3 @@ and
.Fn SHA1Data .Fn SHA1Data
helper functions are derived from code written by helper functions are derived from code written by
.An Poul-Henning Kamp . .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.

+ 2
- 9
src/lib/libc/hash/sha2.3 View File

@ -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> .\" 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 .\" See http://www.nist.gov/sha/ for the detailed standard
.\" .\"
.Dd $Mdocdate: March 10 2016 $
.Dd $Mdocdate: September 4 2016 $
.Dt SHA256INIT 3 .Dt SHA256INIT 3
.Os .Os
.Sh NAME .Sh NAME
@ -319,10 +319,3 @@ and
.Fn SHA256Data .Fn SHA256Data
helper functions are derived from code written by helper functions are derived from code written by
.An Poul-Henning Kamp . .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.

Loading…
Cancel
Save