aboutsummaryrefslogtreecommitdiffstats
path: root/include/crypto/sha3.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto/sha3.h')
-rw-r--r--include/crypto/sha3.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/crypto/sha3.h b/include/crypto/sha3.h
index b9d9bd553b48..080f60c2e6b1 100644
--- a/include/crypto/sha3.h
+++ b/include/crypto/sha3.h
@@ -19,7 +19,6 @@
19 19
20struct sha3_state { 20struct sha3_state {
21 u64 st[25]; 21 u64 st[25];
22 unsigned int md_len;
23 unsigned int rsiz; 22 unsigned int rsiz;
24 unsigned int rsizw; 23 unsigned int rsizw;
25 24
@@ -27,4 +26,9 @@ struct sha3_state {
27 u8 buf[SHA3_224_BLOCK_SIZE]; 26 u8 buf[SHA3_224_BLOCK_SIZE];
28}; 27};
29 28
29int crypto_sha3_init(struct shash_desc *desc);
30int crypto_sha3_update(struct shash_desc *desc, const u8 *data,
31 unsigned int len);
32int crypto_sha3_final(struct shash_desc *desc, u8 *out);
33
30#endif 34#endif