summaryrefslogtreecommitdiff
path: root/sha3.h
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2023-09-02 12:22:21 -0400
committerPaul Duncan <pabs@pablotron.org>2023-09-02 12:22:21 -0400
commitbe371d5f35f783bdd73ec5714c6cbbd7153ed6f7 (patch)
tree15a57b8bb3800ba9da3208b55a11f407b3172d7f /sha3.h
parentcdd3961d4a370041176d27d97129f998d2c1f549 (diff)
downloadsha3-be371d5f35f783bdd73ec5714c6cbbd7153ed6f7.tar.bz2
sha3-be371d5f35f783bdd73ec5714c6cbbd7153ed6f7.zip
sha3.[hc]: add shake{128,256}_xof_once()
Diffstat (limited to 'sha3.h')
-rw-r--r--sha3.h2
1 files changed, 2 insertions, 0 deletions
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
}