diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-10-06 15:33:37 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-10-06 15:33:37 +0200 |
commit | 01652f3a0b840d9a3d36d8ff68a261ae991b7850 (patch) | |
tree | ee9831604879422a82beadbc7239e7364cada8fc | |
parent | m doc (diff) | |
download | libkeccak-01652f3a0b840d9a3d36d8ff68a261ae991b7850.tar.gz libkeccak-01652f3a0b840d9a3d36d8ff68a261ae991b7850.tar.bz2 libkeccak-01652f3a0b840d9a3d36d8ff68a261ae991b7850.tar.xz |
m doc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | src/libkeccak/files.c | 2 |
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, |