aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/bmw
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-14 02:05:05 +0000
committerlloyd <[email protected]>2010-09-14 02:05:05 +0000
commit77a33b0c16880884cc0326e92c0c30d0e8444a91 (patch)
treedf2d917b312abb79c8654558399521366dbb2d14 /src/hash/bmw
parent59a9b0ef260b010606edc3384035b6aa12dd6415 (diff)
More changes to avoid vector to pointer implicit conversions
Diffstat (limited to 'src/hash/bmw')
-rw-r--r--src/hash/bmw/bmw_512.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hash/bmw/bmw_512.cpp b/src/hash/bmw/bmw_512.cpp
index f511e516b..cfa0eee2c 100644
--- a/src/hash/bmw/bmw_512.cpp
+++ b/src/hash/bmw/bmw_512.cpp
@@ -145,7 +145,7 @@ void BMW_512::compress_n(const byte input[], u32bit blocks)
{
load_le(&M[0], input, M.size());
- BMW_512_compress(H, M, Q);
+ BMW_512_compress(&H[0], &M[0], &Q[0]);
input += HASH_BLOCK_SIZE;
}
@@ -166,7 +166,7 @@ void BMW_512::copy_out(byte output[])
0xAAAAAAAAAAAAAAAC, 0xAAAAAAAAAAAAAAAD,
0xAAAAAAAAAAAAAAAE, 0xAAAAAAAAAAAAAAAF };
- BMW_512_compress(final, H, Q);
+ BMW_512_compress(final, &H[0], &Q[0]);
for(u32bit i = 0; i != OUTPUT_LENGTH; i += 8)
store_le(final[8 + i/8], output + i);