aboutsummaryrefslogtreecommitdiff
path: root/include/crypto/sha.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto/sha.h')
-rw-r--r--include/crypto/sha.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/crypto/sha.h b/include/crypto/sha.h
index 88ef5eb9514..45b25ccf7cc 100644
--- a/include/crypto/sha.h
+++ b/include/crypto/sha.h
@@ -76,4 +76,10 @@ struct sha256_state {
u8 buf[SHA256_BLOCK_SIZE];
};
+struct sha512_state {
+ u64 state[8];
+ u32 count[4];
+ u8 buf[128];
+};
+
#endif