From be371d5f35f783bdd73ec5714c6cbbd7153ed6f7 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sat, 2 Sep 2023 12:22:21 -0400 Subject: sha3.[hc]: add shake{128,256}_xof_once() --- sha3.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sha3.h') diff --git a/sha3.h b/sha3.h index 1be9970..c241758 100644 --- a/sha3.h +++ b/sha3.h @@ -29,10 +29,12 @@ void shake256(const uint8_t *m, size_t m_len, uint8_t dst[static 32]); void shake128_xof_init(sha3_xof_t * const xof); _Bool shake128_xof_absorb(sha3_xof_t * const xof, const uint8_t * const m, const size_t len); void shake128_xof_squeeze(sha3_xof_t * const xof, uint8_t * const dst, const size_t dst_len); +void shake128_xof_once(const uint8_t * const src, const size_t src_len, uint8_t * const dst, const size_t dst_len); void shake256_xof_init(sha3_xof_t * const xof); _Bool shake256_xof_absorb(sha3_xof_t * const xof, const uint8_t * const m, const size_t len); void shake256_xof_squeeze(sha3_xof_t * const xof, uint8_t * const dst, const size_t dst_len); +void shake256_xof_once(const uint8_t * const src, const size_t src_len, uint8_t * const dst, const size_t dst_len); #ifdef __cplusplus } -- cgit v1.2.3