diff options
Diffstat (limited to 'src/lib/hash/rmd128/rmd128.cpp')
-rw-r--r-- | src/lib/hash/rmd128/rmd128.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/hash/rmd128/rmd128.cpp b/src/lib/hash/rmd128/rmd128.cpp index cab4adf8b..1a55b467d 100644 --- a/src/lib/hash/rmd128/rmd128.cpp +++ b/src/lib/hash/rmd128/rmd128.cpp @@ -156,8 +156,7 @@ void RIPEMD_128::compress_n(const byte input[], size_t blocks) */ void RIPEMD_128::copy_out(byte output[]) { - for(size_t i = 0; i != output_length(); i += 4) - store_le(digest[i/4], output + i); + copy_out_vec_le(output, output_length(), digest); } /* |