aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2024-02-24 01:38:41 -0500
committerPaul Duncan <pabs@pablotron.org>2024-02-24 01:38:41 -0500
commit9698bdb0c0ff37799494f3f901ab99ede4125583 (patch)
tree046a77ac0ac8e5849953edd3c1152d60c265052a
parentc32ff4ab86b90edb9b3b481a9dded45d742c2418 (diff)
downloadsha3-9698bdb0c0ff37799494f3f901ab99ede4125583.tar.bz2
sha3-9698bdb0c0ff37799494f3f901ab99ede4125583.zip
sha3.h: update shake256 example references
-rw-r--r--sha3.h6
1 files 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)"