diff options
author | Paul Duncan <pabs@pablotron.org> | 2023-09-03 03:27:34 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2023-09-03 03:27:34 -0400 |
commit | 8ac0ff7b66a42e5a2c74d21a101d46278b7dd083 (patch) | |
tree | 722f8535697f9953f072ffb067b79474900d2695 /sha3.h | |
parent | 28df13db758044b0455723b8c1fefdba524b69ee (diff) | |
download | sha3-8ac0ff7b66a42e5a2c74d21a101d46278b7dd083.tar.bz2 sha3-8ac0ff7b66a42e5a2c74d21a101d46278b7dd083.zip |
sha3.[hc]: add kmac128_xof_{init,absorb,squeeze,once}(), test_kmac128_xof()
Diffstat (limited to 'sha3.h')
-rw-r--r-- | sha3.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -64,6 +64,11 @@ typedef struct { void kmac128(const kmac_params_t params, const uint8_t * const msg, const size_t msg_len, uint8_t * const dst, const size_t dst_len); void kmac256(const kmac_params_t params, const uint8_t * const msg, const size_t msg_len, uint8_t * const dst, const size_t dst_len); +void kmac128_xof_init(sha3_xof_t * const xof, const kmac_params_t params); +_Bool kmac128_xof_absorb(sha3_xof_t * const xof, const uint8_t * const msg, const size_t len); +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); + #ifdef __cplusplus } #endif /* __cplusplus */ |