aboutsummaryrefslogtreecommitdiffstats
path: root/libblake.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-09-11 19:58:39 +0200
committerMattias Andrée <maandree@kth.se>2024-09-11 19:58:39 +0200
commitc1940f0f9d77464c115a5b5b07f873b4c250f4e5 (patch)
treeeecd70d9f583f2cda3334e66c3661dfd5e22cd5d /libblake.h
parentFix documentation on how partial bytes are input (diff)
downloadlibblake-c1940f0f9d77464c115a5b5b07f873b4c250f4e5.tar.gz
libblake-c1940f0f9d77464c115a5b5b07f873b4c250f4e5.tar.bz2
libblake-c1940f0f9d77464c115a5b5b07f873b4c250f4e5.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libblake.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libblake.h b/libblake.h
index 3c2a14d..509a2ca 100644
--- a/libblake.h
+++ b/libblake.h
@@ -764,7 +764,7 @@ struct libblake_blake2b_params {
uint_least8_t _padding[6]; /* to keep .salt and .pepper aligned as uint_least64_t */
/**
- * 8-byte salt used to make the hash unique even if
+ * 16-byte salt used to make the hash unique even if
* the input is not unique
*
* These is normally used in password hashing schemes
@@ -832,7 +832,7 @@ struct libblake_blake2b_state {
* input to the hash function shall be the key
* with NUL bytes appended to it (such that the
* length is 64 bytes, which is double the maximum
- * allowed length of the key, but is the size
+ * allowed length of the key, but is the input
* block size used by BLAKE2s)
*
* @param state The state to initialise
@@ -933,7 +933,7 @@ libblake_blake2s_digest(struct libblake_blake2s_state *state, void *data, size_t
* input to the hash function shall be the key
* with NUL bytes appended to it (such that the
* length is 128 bytes, which is double the maximum
- * allowed length of the key, but is the size
+ * allowed length of the key, but is the input
* block size used by BLAKE2b)
*
* @param state The state to initialise