aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-08-24 19:49:39 +0200
committerMattias Andrée <maandree@kth.se>2024-08-24 19:49:39 +0200
commit757a42ec3dd23ca0af72cffa47a66430ed38366d (patch)
treee16ef84340db368784be8201847f85a29e051802
parentEmpty signed commit (diff)
downloadlibblake-757a42ec3dd23ca0af72cffa47a66430ed38366d.tar.gz
libblake-757a42ec3dd23ca0af72cffa47a66430ed38366d.tar.bz2
libblake-757a42ec3dd23ca0af72cffa47a66430ed38366d.tar.xz
Fix documentation on how partial bytes are input
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--libblake.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libblake.h b/libblake.h
index 1335486..3c2a14d 100644
--- a/libblake.h
+++ b/libblake.h
@@ -253,7 +253,7 @@ libblake_blake224_digest_get_required_input_size(size_t len, size_t bits, const
* @param bits The number of input bits after the last whole bytes
* (may actually be greater than 7); these bits shall
* be stored in `data[len]`'s (addition bytes will be used
- * if `bits > 8`) lower bits
+ * if `bits > 8`) higher bits
* @param suffix String of '0's and '1's of addition bits to add to the
* end of the input, or `NULL` (or the empty string) if none;
* the first character corresponds to the lowest indexed
@@ -341,7 +341,7 @@ libblake_blake256_digest_get_required_input_size(size_t len, size_t bits, const
* @param bits The number of input bits after the last whole bytes
* (may actually be greater than 7); these bits shall
* be stored in `data[len]`'s (addition bytes will be used
- * if `bits > 8`) lower bits
+ * if `bits > 8`) higher bits
* @param suffix String of '0's and '1's of addition bits to add to the
* end of the input, or `NULL` (or the empty string) if none;
* the first character corresponds to the lowest indexed
@@ -427,7 +427,7 @@ libblake_blake384_digest_get_required_input_size(size_t len, size_t bits, const
* @param bits The number of input bits after the last whole bytes
* (may actually be greater than 7); these bits shall
* be stored in `data[len]`'s (addition bytes will be used
- * if `bits > 8`) lower bits
+ * if `bits > 8`) higher bits
* @param suffix String of '0's and '1's of addition bits to add to the
* end of the input, or `NULL` (or the empty string) if none;
* the first character corresponds to the lowest indexed
@@ -515,7 +515,7 @@ libblake_blake512_digest_get_required_input_size(size_t len, size_t bits, const
* @param bits The number of input bits after the last whole bytes
* (may actually be greater than 7); these bits shall
* be stored in `data[len]`'s (addition bytes will be used
- * if `bits > 8`) lower bits
+ * if `bits > 8`) higher bits
* @param suffix String of '0's and '1's of addition bits to add to the
* end of the input, or `NULL` (or the empty string) if none;
* the first character corresponds to the lowest indexed