aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/md4_x86_32
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-06-12 13:48:20 +0000
committerlloyd <[email protected]>2012-06-12 13:48:20 +0000
commitaa5d1f93c077f1c80ba06c3055671136f79f74e7 (patch)
tree12a552004aecf5e77a5b5fed9d74ca4042466960 /src/hash/md4_x86_32
parent626a0afa0f232b015d5b5098d5cc7f35fa8284cf (diff)
Fixes for the change to using std::vector in x86-32 specific code
(relying on implicit pointer conversions). Also, change Serpent::set_round_keys (used by the x86-32 asm version) to assign() the values instead of copying, as we rely on the key schedule to allocate the key values now to minimize memory waste.
Diffstat (limited to 'src/hash/md4_x86_32')
-rw-r--r--src/hash/md4_x86_32/md4_x86_32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash/md4_x86_32/md4_x86_32.cpp b/src/hash/md4_x86_32/md4_x86_32.cpp
index 750e65a95..ed3f72fc9 100644
--- a/src/hash/md4_x86_32/md4_x86_32.cpp
+++ b/src/hash/md4_x86_32/md4_x86_32.cpp
@@ -26,7 +26,7 @@ void MD4_X86_32::compress_n(const byte input[], size_t blocks)
{
for(size_t i = 0; i != blocks; ++i)
{
- botan_md4_x86_32_compress(digest, input, M);
+ botan_md4_x86_32_compress(&digest[0], input, &M[0]);
input += hash_block_size();
}
}