diff options
author | Paul Duncan <pabs@pablotron.org> | 2023-09-04 02:02:43 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2023-09-04 02:02:43 -0400 |
commit | b806ec3beaea1d66c9b5abca2df1dd5d795d10a8 (patch) | |
tree | c7b95468147397bc7449ed9606fb9ee1066bd7eb /sha3.h | |
parent | 660ea2ff323ff1dcedb883afb612c3608419be2f (diff) | |
download | sha3-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.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 */ |