diff options
Diffstat (limited to 'src/hash/bmw')
-rw-r--r-- | src/hash/bmw/bmw_512.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/hash/bmw/bmw_512.cpp b/src/hash/bmw/bmw_512.cpp index ae80d5725..5ccb09579 100644 --- a/src/hash/bmw/bmw_512.cpp +++ b/src/hash/bmw/bmw_512.cpp @@ -143,8 +143,7 @@ void BMW_512::compress_n(const byte input[], u32bit blocks) { for(u32bit i = 0; i != blocks; ++i) { - for(u32bit j = 0; j != 16; ++j) - M[j] = load_le<u64bit>(input, j); + load_le(M.begin(), input, M.size()); BMW_512_compress(H, M, Q); |