diff options
author | Mattias Andrée <maandree@kth.se> | 2024-08-23 22:36:41 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-08-23 22:40:29 +0200 |
commit | 2fd94aae29d53d9859bfc3f53777970def38e253 (patch) | |
tree | e45573486f44271d75ee22284953e5dcde303ca5 /libhashsum_init_ripemd_256_hasher.c | |
parent | First commit (diff) | |
download | libhashsum-2fd94aae29d53d9859bfc3f53777970def38e253.tar.gz libhashsum-2fd94aae29d53d9859bfc3f53777970def38e253.tar.bz2 libhashsum-2fd94aae29d53d9859bfc3f53777970def38e253.tar.xz |
Fixes + add SHA0 and SHA1 using libsha1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libhashsum_init_ripemd_256_hasher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhashsum_init_ripemd_256_hasher.c b/libhashsum_init_ripemd_256_hasher.c index 6491192..b1e9241 100644 --- a/libhashsum_init_ripemd_256_hasher.c +++ b/libhashsum_init_ripemd_256_hasher.c @@ -181,7 +181,7 @@ finalise_common(struct libhashsum_hasher *this, uint8_t *m, size_t bytes, unsign LIBHASHSUM_1_NONNULL_ static int -finalise_const(struct libhashsum_hasher *this, const void *data, unsigned extra_bits, size_t bytes) +finalise_const(struct libhashsum_hasher *this, const void *data, size_t bytes, unsigned extra_bits) { const uint8_t *m = data; size_t r; |