diff options
author | Mattias Andrée <maandree@kth.se> | 2024-08-24 21:05:42 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-08-24 21:05:42 +0200 |
commit | 55c8bd00e0d5ff217c4cc200f42f4b4e79174222 (patch) | |
tree | cebbafd48ea6aa381f17a74c907a9396e99c1cf1 | |
parent | m (diff) | |
download | libhashsum-55c8bd00e0d5ff217c4cc200f42f4b4e79174222.tar.gz libhashsum-55c8bd00e0d5ff217c4cc200f42f4b4e79174222.tar.bz2 libhashsum-55c8bd00e0d5ff217c4cc200f42f4b4e79174222.tar.xz |
m fix
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libhashsum_init_blake256_hasher.c | 2 | ||||
-rw-r--r-- | libhashsum_init_blake384_hasher.c | 2 | ||||
-rw-r--r-- | libhashsum_init_blake512_hasher.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libhashsum_init_blake256_hasher.c b/libhashsum_init_blake256_hasher.c index fd77878..39a8eb9 100644 --- a/libhashsum_init_blake256_hasher.c +++ b/libhashsum_init_blake256_hasher.c @@ -96,7 +96,7 @@ libhashsum_init_blake256_hasher(struct libhashsum_hasher *this, const void *salt { libblake_init(); this->algorithm = LIBHASHSUM_BLAKE256; - this->algorithm_string = mkalgostr(this->state.blake224.algostr, "BLAKE256", salt); + this->algorithm_string = mkalgostr(this->state.blake256.algostr, "BLAKE256", salt); this->input_block_size = 64U; this->hash_size = LIBHASHSUM_BLAKE256_HASH_SIZE; this->hash_output = NULL; diff --git a/libhashsum_init_blake384_hasher.c b/libhashsum_init_blake384_hasher.c index cd6457f..5346689 100644 --- a/libhashsum_init_blake384_hasher.c +++ b/libhashsum_init_blake384_hasher.c @@ -96,7 +96,7 @@ libhashsum_init_blake384_hasher(struct libhashsum_hasher *this, const void *salt { libblake_init(); this->algorithm = LIBHASHSUM_BLAKE384; - this->algorithm_string = mkalgostr(this->state.blake224.algostr, "BLAKE384", salt); + this->algorithm_string = mkalgostr(this->state.blake384.algostr, "BLAKE384", salt); this->input_block_size = 128U; this->hash_size = LIBHASHSUM_BLAKE384_HASH_SIZE; this->hash_output = NULL; diff --git a/libhashsum_init_blake512_hasher.c b/libhashsum_init_blake512_hasher.c index d174fdd..a42b429 100644 --- a/libhashsum_init_blake512_hasher.c +++ b/libhashsum_init_blake512_hasher.c @@ -96,7 +96,7 @@ libhashsum_init_blake512_hasher(struct libhashsum_hasher *this, const void *salt { libblake_init(); this->algorithm = LIBHASHSUM_BLAKE512; - this->algorithm_string = mkalgostr(this->state.blake224.algostr, "BLAKE512", salt); + this->algorithm_string = mkalgostr(this->state.blake512.algostr, "BLAKE512", salt); this->input_block_size = 128U; this->hash_size = LIBHASHSUM_BLAKE512_HASH_SIZE; this->hash_output = NULL; |