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: sha256_generic - Add export/import support
[safe/jmp/linux-2.6]
/
include
/
crypto
/
sha.h
diff --git
a/include/crypto/sha.h
b/include/crypto/sha.h
index
922a248
..
88ef5eb
100644
(file)
--- a/
include/crypto/sha.h
+++ b/
include/crypto/sha.h
@@
-70,4
+70,10
@@
struct sha1_state {
u8 buffer[SHA1_BLOCK_SIZE];
};
+struct sha256_state {
+ u64 count;
+ u32 state[SHA256_DIGEST_SIZE / 4];
+ u8 buf[SHA256_BLOCK_SIZE];
+};
+
#endif