aboutsummaryrefslogtreecommitdiffstats
path: root/libhashsum_init_ripemd_160_hasher.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-08-24 11:38:07 +0200
committerMattias Andrée <maandree@kth.se>2024-08-24 11:38:07 +0200
commitdadf0cb089c36b0d49483b50cac97d017cd9389e (patch)
tree70053cf96f04efea0da5fb5c3289352e7c74a1ce /libhashsum_init_ripemd_160_hasher.c
parentMake algorithms optional (diff)
downloadlibhashsum-dadf0cb089c36b0d49483b50cac97d017cd9389e.tar.gz
libhashsum-dadf0cb089c36b0d49483b50cac97d017cd9389e.tar.bz2
libhashsum-dadf0cb089c36b0d49483b50cac97d017cd9389e.tar.xz
Add libhashsum_hasher.algorithm_string
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libhashsum_init_ripemd_160_hasher.c')
-rw-r--r--libhashsum_init_ripemd_160_hasher.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhashsum_init_ripemd_160_hasher.c b/libhashsum_init_ripemd_160_hasher.c
index b37aec8..8b37b0a 100644
--- a/libhashsum_init_ripemd_160_hasher.c
+++ b/libhashsum_init_ripemd_160_hasher.c
@@ -216,6 +216,7 @@ int
libhashsum_init_ripemd_160_hasher(struct libhashsum_hasher *this)
{
this->algorithm = LIBHASHSUM_RIPEMD_160;
+ this->algorithm_string = "RIPEMD-160";
this->input_block_size = 64U;
this->hash_size = sizeof(this->state.ripemd_160.h.sum);
this->hash_output = NULL;