summaryrefslogtreecommitdiff
path: root/sha3.h
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2023-09-04 02:02:43 -0400
committerPaul Duncan <pabs@pablotron.org>2023-09-04 02:02:43 -0400
commitb806ec3beaea1d66c9b5abca2df1dd5d795d10a8 (patch)
treec7b95468147397bc7449ed9606fb9ee1066bd7eb /sha3.h
parent660ea2ff323ff1dcedb883afb612c3608419be2f (diff)
downloadsha3-b806ec3beaea1d66c9b5abca2df1dd5d795d10a8.tar.bz2
sha3-b806ec3beaea1d66c9b5abca2df1dd5d795d10a8.zip
sha3.[hc]: add parallelhash256, parallelhash256_xof_{init,absorb,squeeze,once}(), test_parallelhash256(), and test_parallelhash256_xof()
Diffstat (limited to 'sha3.h')
-rw-r--r--sha3.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sha3.h b/sha3.h
index 11dd8cb..76de7b0 100644
--- a/sha3.h
+++ b/sha3.h
@@ -113,12 +113,18 @@ typedef struct {
} parallelhash_t;
void parallelhash128(const parallelhash_params_t params, const uint8_t * const src, const size_t src_len, uint8_t * const dst, const size_t dst_len);
+void parallelhash256(const parallelhash_params_t params, const uint8_t * const src, const size_t src_len, uint8_t * const dst, const size_t dst_len);
void parallelhash128_xof_init(parallelhash_t *hash, const parallelhash_params_t params);
void parallelhash128_xof_absorb(parallelhash_t *hash, const uint8_t *msg, const size_t msg_len);
void parallelhash128_xof_squeeze(parallelhash_t *hash, uint8_t *dst, const size_t dst_len);
void parallelhash128_xof_once(const parallelhash_params_t params, const uint8_t * const src, const size_t src_len, uint8_t * const dst, const size_t dst_len);
+void parallelhash256_xof_init(parallelhash_t *hash, const parallelhash_params_t params);
+void parallelhash256_xof_absorb(parallelhash_t *hash, const uint8_t *msg, const size_t msg_len);
+void parallelhash256_xof_squeeze(parallelhash_t *hash, uint8_t *dst, const size_t dst_len);
+void parallelhash256_xof_once(const parallelhash_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 */