diff options
author | Mattias Andrée <maandree@kth.se> | 2024-08-24 11:38:07 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-08-24 11:38:07 +0200 |
commit | dadf0cb089c36b0d49483b50cac97d017cd9389e (patch) | |
tree | 70053cf96f04efea0da5fb5c3289352e7c74a1ce /libhashsum_init_ripemd_256_hasher.c | |
parent | Make algorithms optional (diff) | |
download | libhashsum-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 '')
-rw-r--r-- | libhashsum_init_ripemd_256_hasher.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libhashsum_init_ripemd_256_hasher.c b/libhashsum_init_ripemd_256_hasher.c index beda29f..6ba8aa0 100644 --- a/libhashsum_init_ripemd_256_hasher.c +++ b/libhashsum_init_ripemd_256_hasher.c @@ -224,6 +224,7 @@ int libhashsum_init_ripemd_256_hasher(struct libhashsum_hasher *this) { this->algorithm = LIBHASHSUM_RIPEMD_256; + this->algorithm_string = "RIPEMD-256"; this->input_block_size = 64U; this->hash_size = sizeof(this->state.ripemd_256.h.sum); this->hash_output = NULL; |