summaryrefslogtreecommitdiff
path: root/lib/libc/hash
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2007-02-27 19:34:54 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2007-02-27 19:34:54 +0000
commit4a7d2ae0b1dc631cc305380784c141596750bd41 (patch)
tree0d7dfd37c07105b8d9927bc336d7176693ea0bc1 /lib/libc/hash
parentef093ce9ec37ae72a90eab48f8a946fb758ebb31 (diff)
sha2 hashes are not 5 32-bit ints in size. Just leave out the size
in ints since there are multiple flavors. The key point to get across is that when storing as a type > byte it may be necessary to do byte swapping depending on the machine's byte order. Noticed by Tamas TEVESZ.
Diffstat (limited to 'lib/libc/hash')
-rw-r--r--lib/libc/hash/sha2.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/hash/sha2.3 b/lib/libc/hash/sha2.3
index 0533b17b75e..9a518f763d5 100644
--- a/lib/libc/hash/sha2.3
+++ b/lib/libc/hash/sha2.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sha2.3,v 1.12 2005/09/12 10:33:29 jmc Exp $
+.\" $OpenBSD: sha2.3,v 1.13 2007/02/27 19:34:53 millert Exp $
.\"
.\" Copyright (c) 2003, 2004 Todd C. Miller <Todd.Miller@courtesan.com>
.\"
@@ -277,6 +277,6 @@ 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 five 32-bit integers) it will be necessary to
+an array of 32-bit integers) it will be necessary to
perform byte swapping on little endian machines such as the i386, alpha,
and vax.