diff options
-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; |