diff options
author | Paul Duncan <pabs@pablotron.org> | 2024-02-24 01:38:41 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2024-02-24 01:38:41 -0500 |
commit | 9698bdb0c0ff37799494f3f901ab99ede4125583 (patch) | |
tree | 046a77ac0ac8e5849953edd3c1152d60c265052a /sha3.h | |
parent | c32ff4ab86b90edb9b3b481a9dded45d742c2418 (diff) | |
download | sha3-9698bdb0c0ff37799494f3f901ab99ede4125583.tar.bz2 sha3-9698bdb0c0ff37799494f3f901ab99ede4125583.zip |
sha3.h: update shake256 example references
Diffstat (limited to 'sha3.h')
-rw-r--r-- | sha3.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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)" |