headers: kref.h redux
[safe/jmp/linux-2.6] / include / crypto / sha.h
index 922a248..069e85b 100644 (file)
@@ -70,4 +70,16 @@ struct sha1_state {
        u8 buffer[SHA1_BLOCK_SIZE];
 };
 
+struct sha256_state {
+       u64 count;
+       u32 state[SHA256_DIGEST_SIZE / 4];
+       u8 buf[SHA256_BLOCK_SIZE];
+};
+
+struct sha512_state {
+       u64 count[2];
+       u64 state[SHA512_DIGEST_SIZE / 8];
+       u8 buf[SHA512_BLOCK_SIZE];
+};
+
 #endif