aboutsummaryrefslogtreecommitdiffstats
path: root/digest.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-02-22 14:18:47 +0100
committerMattias Andrée <m@maandree.se>2026-02-22 14:18:47 +0100
commit094bdf46112d7c05854f80d96665d8e46d266a23 (patch)
tree53d241ab0c35c9033819980429c236e63334f0dd /digest.c
parentUpdate e-mail (diff)
downloadlibkeccak-094bdf46112d7c05854f80d96665d8e46d266a23.tar.gz
libkeccak-094bdf46112d7c05854f80d96665d8e46d266a23.tar.bz2
libkeccak-094bdf46112d7c05854f80d96665d8e46d266a23.tar.xz
m fixesHEADmaster
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'digest.c')
-rw-r--r--digest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/digest.c b/digest.c
index a196cee..c7b2571 100644
--- a/digest.c
+++ b/digest.c
@@ -217,7 +217,7 @@ libkeccak_squeezing_phase(register struct libkeccak_state *restrict state, long
* Absorb more of the message to the Keccak sponge
* without copying the data to an internal buffer
*
- * It is safe run zero-copy functions before non-zero-copy
+ * It is safe to run zero-copy functions before non-zero-copy
* functions for the same state, running zero-copy functions
* after non-zero-copy functions on the other hand can
* cause the message to be misread
@@ -317,7 +317,7 @@ libkeccak_update(struct libkeccak_state *restrict state, const void *restrict ms
* Absorb the last part of the message and squeeze the Keccak sponge
* without copying the data to an internal buffer
*
- * It is safe run zero-copy functions before non-zero-copy
+ * It is safe to run zero-copy functions before non-zero-copy
* functions for the same state, running zero-copy functions
* after non-zero-copy functions on the other hand can
* cause the message to be misread
@@ -325,7 +325,7 @@ libkeccak_update(struct libkeccak_state *restrict state, const void *restrict ms
* @param state The hashing state
* @param msg_ The rest of the message; will be edited; extra memory
* shall be allocated such that `suffix` and a 10*1 pad (which
- * is at least 2 bits long) can be added in a why the makes it's
+ * is at least 2 bits long) can be added in a way that makes its
* length a multiple of `libkeccak_zerocopy_chunksize(state)`
* @param msglen The length of the partial message
* @param bits The number of bits at the end of the message not covered by `msglen`