summaryrefslogtreecommitdiff
path: root/sha3.h
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2023-09-03 10:57:58 -0400
committerPaul Duncan <pabs@pablotron.org>2023-09-03 10:57:58 -0400
commit823d204f2ae1300862d5005419cf74e6e7c2e1dc (patch)
tree1af4557d49789a0f25cfcd25aa0a7485f7623482 /sha3.h
parent4bd5db53cde5e7a89281e293c006b048663eaf74 (diff)
downloadsha3-823d204f2ae1300862d5005419cf74e6e7c2e1dc.tar.bz2
sha3-823d204f2ae1300862d5005419cf74e6e7c2e1dc.zip
sha3.[hc]: add tuplehash256(), tuplehash256_xof_{init,squeeze,once}(), and test_tuplehash256()
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 864772a..b8e03c5 100644
--- a/sha3.h
+++ b/sha3.h
@@ -87,11 +87,16 @@ typedef struct {
} tuplehash_params_t;
void tuplehash128(const tuplehash_params_t params, uint8_t *dst, const size_t dst_len);
+void tuplehash256(const tuplehash_params_t params, uint8_t *dst, const size_t dst_len);
void tuplehash128_xof_init(sha3_xof_t * const xof, const tuplehash_params_t params);
void tuplehash128_xof_squeeze(sha3_xof_t * const xof, uint8_t *dst, const size_t dst_len);
void tuplehash128_xof_once(const tuplehash_params_t params, uint8_t *dst, const size_t dst_len);
+void tuplehash256_xof_init(sha3_xof_t * const xof, const tuplehash_params_t params);
+void tuplehash256_xof_squeeze(sha3_xof_t * const xof, uint8_t *dst, const size_t dst_len);
+void tuplehash256_xof_once(const tuplehash_params_t params, uint8_t *dst, const size_t dst_len);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */