aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/whirlpool/whrlpool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash/whirlpool/whrlpool.cpp')
-rw-r--r--src/hash/whirlpool/whrlpool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash/whirlpool/whrlpool.cpp b/src/hash/whirlpool/whrlpool.cpp
index bff4b27ad..5356252b2 100644
--- a/src/hash/whirlpool/whrlpool.cpp
+++ b/src/hash/whirlpool/whrlpool.cpp
@@ -120,7 +120,7 @@ void Whirlpool::compress_n(const byte in[], size_t blocks)
digest[6] ^= B6 ^ M[6];
digest[7] ^= B7 ^ M[7];
- in += HASH_BLOCK_SIZE;
+ in += hash_block_size();
}
}