diff options
author | Simon Warta <[email protected]> | 2015-06-26 00:17:56 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-06-27 10:57:40 +0200 |
commit | c0d847700c2905d9f7eecf2835d2750b564fc65b (patch) | |
tree | b48224cfa0db44700531d78f0aa98bce835bfce5 /src/lib/hash/whirlpool | |
parent | d6044e49cefc7fb1415033ed7f7ed74e9a985d33 (diff) |
lib/hash: Convert &vec[0] to vec.data()
Diffstat (limited to 'src/lib/hash/whirlpool')
-rw-r--r-- | src/lib/hash/whirlpool/whirlpool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/hash/whirlpool/whirlpool.cpp b/src/lib/hash/whirlpool/whirlpool.cpp index 25b958e6d..573c49f91 100644 --- a/src/lib/hash/whirlpool/whirlpool.cpp +++ b/src/lib/hash/whirlpool/whirlpool.cpp @@ -27,7 +27,7 @@ void Whirlpool::compress_n(const byte in[], size_t blocks) for(size_t i = 0; i != blocks; ++i) { - load_be(&M[0], in, M.size()); + load_be(M.data(), in, M.size()); u64bit K0, K1, K2, K3, K4, K5, K6, K7; K0 = digest[0]; K1 = digest[1]; K2 = digest[2]; K3 = digest[3]; |