diff options
Diffstat (limited to 'libhashsum_init_sha2_hasher.c')
-rw-r--r-- | libhashsum_init_sha2_hasher.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libhashsum_init_sha2_hasher.c b/libhashsum_init_sha2_hasher.c index e6aab61..dc9d0f2 100644 --- a/libhashsum_init_sha2_hasher.c +++ b/libhashsum_init_sha2_hasher.c @@ -97,6 +97,7 @@ libhashsum_init_sha2_hasher(struct libhashsum_hasher *this, unsigned algobits, s this->standard_partial_byte_input_encoding = LIBHASHSUM_LEAST_SIGNIFICANT; this->standard_partial_byte_output_encoding = LIBHASHSUM_UNSUPPORTED; this->hash_excess_bits = 0; + this->relative_performance = (algobits == 32U ? 277891737809888154ULL : 32055903736688859ULL); this->process = &process; this->finalise_const = &finalise_const; this->finalise = &finalise; |