aboutsummaryrefslogtreecommitdiffstats
path: root/c/sha3.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/sha3.h')
-rw-r--r--c/sha3.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/c/sha3.h b/c/sha3.h
index 950ef1e..99cd209 100644
--- a/c/sha3.h
+++ b/c/sha3.h
@@ -98,3 +98,11 @@ extern void sha3_fastSqueeze(long times);
*/
extern byte* sha3_squeeze(void);
+
+/**
+ * Retrieve the state of the Keccak sponge
+ *
+ * @return A 25-element array with the state, changes will be applied to the sponge
+ */
+extern llong* sha3_state(void);
+