aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/rmd160
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/hash/rmd160')
-rw-r--r--src/lib/hash/rmd160/rmd160.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/hash/rmd160/rmd160.cpp b/src/lib/hash/rmd160/rmd160.cpp
index ff1c1c4ec..29e2b4daa 100644
--- a/src/lib/hash/rmd160/rmd160.cpp
+++ b/src/lib/hash/rmd160/rmd160.cpp
@@ -189,8 +189,7 @@ void RIPEMD_160::compress_n(const byte input[], size_t blocks)
*/
void RIPEMD_160::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);
}
/*