aboutsummaryrefslogtreecommitdiffstats
path: root/c/sha3.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/sha3.c')
-rw-r--r--c/sha3.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/c/sha3.c b/c/sha3.c
index 5ac3144..6c35267 100644
--- a/c/sha3.c
+++ b/c/sha3.c
@@ -842,3 +842,14 @@ extern byte* sha3_squeeze(void)
return rc;
}
+
+/**
+ * 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)
+{
+ return S;
+}
+