aboutsummaryrefslogtreecommitdiff
path: root/sha3.h
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2023-09-03 03:37:23 -0400
committerPaul Duncan <pabs@pablotron.org>2023-09-03 03:37:23 -0400
commit014759efff33157cb6b817233188bdfe7434138a (patch)
tree024f283d1aa580d5fa46de4567e33711b29a4323 /sha3.h
parent8ac0ff7b66a42e5a2c74d21a101d46278b7dd083 (diff)
downloadsha3-014759efff33157cb6b817233188bdfe7434138a.tar.bz2
sha3-014759efff33157cb6b817233188bdfe7434138a.zip
sha3.[hc]: add kmac256_xof_{init,absorb,squeeze,once}() and test_kmac256_xof()
Diffstat (limited to 'sha3.h')
-rw-r--r--sha3.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sha3.h b/sha3.h
index e5025ff..a2014c9 100644
--- a/sha3.h
+++ b/sha3.h
@@ -69,6 +69,11 @@ _Bool kmac128_xof_absorb(sha3_xof_t * const xof, const uint8_t * const msg, cons
void kmac128_xof_squeeze(sha3_xof_t * const xof, uint8_t * const dst, const size_t len);
void kmac128_xof_once(const kmac_params_t params, const uint8_t * const src, const size_t src_len, uint8_t * const dst, const size_t dst_len);
+void kmac256_xof_init(sha3_xof_t * const xof, const kmac_params_t params);
+_Bool kmac256_xof_absorb(sha3_xof_t * const xof, const uint8_t * const msg, const size_t len);
+void kmac256_xof_squeeze(sha3_xof_t * const xof, uint8_t * const dst, const size_t len);
+void kmac256_xof_once(const kmac_params_t params, const uint8_t * const src, const size_t src_len, uint8_t * const dst, const size_t dst_len);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */