diff options
author | Paul Duncan <pabs@pablotron.org> | 2023-09-03 03:37:23 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2023-09-03 03:37:23 -0400 |
commit | 014759efff33157cb6b817233188bdfe7434138a (patch) | |
tree | 024f283d1aa580d5fa46de4567e33711b29a4323 /sha3.h | |
parent | 8ac0ff7b66a42e5a2c74d21a101d46278b7dd083 (diff) | |
download | sha3-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.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 */ |