diff options
author | Paul Duncan <pabs@pablotron.org> | 2023-09-02 12:22:21 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2023-09-02 12:22:21 -0400 |
commit | be371d5f35f783bdd73ec5714c6cbbd7153ed6f7 (patch) | |
tree | 15a57b8bb3800ba9da3208b55a11f407b3172d7f /sha3.h | |
parent | cdd3961d4a370041176d27d97129f998d2c1f549 (diff) | |
download | sha3-be371d5f35f783bdd73ec5714c6cbbd7153ed6f7.tar.bz2 sha3-be371d5f35f783bdd73ec5714c6cbbd7153ed6f7.zip |
sha3.[hc]: add shake{128,256}_xof_once()
Diffstat (limited to 'sha3.h')
-rw-r--r-- | sha3.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 } |