From 9698bdb0c0ff37799494f3f901ab99ede4125583 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sat, 24 Feb 2024 01:38:41 -0500 Subject: sha3.h: update shake256 example references --- sha3.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sha3.h b/sha3.h index 93f3bdc..e6cc99c 100644 --- a/sha3.h +++ b/sha3.h @@ -784,7 +784,7 @@ void shake128(const uint8_t *src, const size_t src_len, uint8_t *dst, const size * @param[out] xof SHAKE256 [XOF][] context. * * Example: - * @snippet{trimleft} 06-all/all-fns.c shake256_xof + * @snippet{trimleft} 06-all/all-fns.c shake256_ctx * * [xof]: https://en.wikipedia.org/wiki/Extendable-output_function * "Extendable-Output Function (XOF)" @@ -806,7 +806,7 @@ void shake256_init(sha3_xof_t *xof); * @return True if data was absorbed, and false otherwise (e.g., if context has already been squeezed). * * Example: - * @snippet{trimleft} 06-all/all-fns.c shake256_xof + * @snippet{trimleft} 06-all/all-fns.c shake256_ctx * * [xof]: https://en.wikipedia.org/wiki/Extendable-output_function * "Extendable-Output Function (XOF)" @@ -826,7 +826,7 @@ _Bool shake256_absorb(sha3_xof_t *xof, const uint8_t *msg, const size_t len); * @param[in] len Destination buffer length, in bytes. * * Example: - * @snippet{trimleft} 06-all/all-fns.c shake256_xof + * @snippet{trimleft} 06-all/all-fns.c shake256_ctx * * [xof]: https://en.wikipedia.org/wiki/Extendable-output_function * "Extendable-Output Function (XOF)" -- cgit v1.2.3