aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-06 15:33:37 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-06 15:33:37 +0200
commit01652f3a0b840d9a3d36d8ff68a261ae991b7850 (patch)
treeee9831604879422a82beadbc7239e7364cada8fc /src
parentm doc (diff)
downloadlibkeccak-01652f3a0b840d9a3d36d8ff68a261ae991b7850.tar.gz
libkeccak-01652f3a0b840d9a3d36d8ff68a261ae991b7850.tar.bz2
libkeccak-01652f3a0b840d9a3d36d8ff68a261ae991b7850.tar.xz
m doc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/libkeccak/files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libkeccak/files.c b/src/libkeccak/files.c
index 95e9889..c9d06b8 100644
--- a/src/libkeccak/files.c
+++ b/src/libkeccak/files.c
@@ -35,7 +35,7 @@
* @param spec Specifications for the hashing algorithm
* @param suffix The data suffix, see `libkeccak_digest`
* @param hashsum Output array for the hashsum, have an allocation size of
- * at least `(spec->output / 8) * sizeof(char)`, may be `NULL`
+ * at least `((spec->output + 7) / 8) * sizeof(char)`, may be `NULL`
* @return Zero on success, -1 on error
*/
int libkeccak_generalised_sum_fd(int fd, libkeccak_state_t* restrict state,