aboutsummaryrefslogtreecommitdiffstats
path: root/libhashsum_init_blake256_hasher.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-08-24 21:05:42 +0200
committerMattias Andrée <maandree@kth.se>2024-08-24 21:05:42 +0200
commit55c8bd00e0d5ff217c4cc200f42f4b4e79174222 (patch)
treecebbafd48ea6aa381f17a74c907a9396e99c1cf1 /libhashsum_init_blake256_hasher.c
parentm (diff)
downloadlibhashsum-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.c2
1 files changed, 1 insertions, 1 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;