aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/tiger/tiger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/hash/tiger/tiger.cpp')
-rw-r--r--src/lib/hash/tiger/tiger.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/hash/tiger/tiger.cpp b/src/lib/hash/tiger/tiger.cpp
index 57250d6f5..b6d796f29 100644
--- a/src/lib/hash/tiger/tiger.cpp
+++ b/src/lib/hash/tiger/tiger.cpp
@@ -75,8 +75,7 @@ void Tiger::compress_n(const byte input[], size_t blocks)
*/
void Tiger::copy_out(byte output[])
{
- for(size_t i = 0; i != output_length(); ++i)
- output[i] = get_byte(7 - (i % 8), digest[i/8]);
+ copy_out_vec_le(output, output_length(), digest);
}
/*