diff options
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 */ |