diff options
Diffstat (limited to 'src/hash/gost_3411/gost_3411.cpp')
-rw-r--r-- | src/hash/gost_3411/gost_3411.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash/gost_3411/gost_3411.cpp b/src/hash/gost_3411/gost_3411.cpp index 075f26889..c0f39da47 100644 --- a/src/hash/gost_3411/gost_3411.cpp +++ b/src/hash/gost_3411/gost_3411.cpp @@ -71,7 +71,7 @@ void GOST_34_11::compress_n(const byte input[], size_t blocks) { for(size_t i = 0; i != blocks; ++i) { - for(size_t j = 0, carry = 0; j != 32; ++j) + for(u16bit j = 0, carry = 0; j != 32; ++j) { u16bit s = sum[j] + input[32*i+j] + carry; carry = get_byte(0, s); |