aboutsummaryrefslogtreecommitdiffstats
path: root/libkeccak.h
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 /libkeccak.h
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 '')
-rw-r--r--libkeccak.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libkeccak.h b/libkeccak.h
index 4d8507c..c1bc177 100644
--- a/libkeccak.h
+++ b/libkeccak.h
@@ -155,7 +155,7 @@ libkeccak_zerocopy_chunksize(struct libkeccak_state *state)
* 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
@@ -197,7 +197,7 @@ int libkeccak_update(struct libkeccak_state *restrict, const void *restrict, siz
* 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
@@ -205,7 +205,7 @@ int libkeccak_update(struct libkeccak_state *restrict, const void *restrict, siz
* @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`