git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crypto: sha512_generic - Use 64-bit counters
[safe/jmp/linux-2.6]
/
include
/
crypto
/
sha.h
diff --git
a/include/crypto/sha.h
b/include/crypto/sha.h
index
45b25cc
..
069e85b
100644
(file)
--- a/
include/crypto/sha.h
+++ b/
include/crypto/sha.h
@@
-77,9
+77,9
@@
struct sha256_state {
};
struct sha512_state {
- u64
state[8
];
- u
32 count[4
];
- u8 buf[
128
];
+ u64
count[2
];
+ u
64 state[SHA512_DIGEST_SIZE / 8
];
+ u8 buf[
SHA512_BLOCK_SIZE
];
};
#endif