diff options
author | lloyd <[email protected]> | 2012-06-12 13:48:20 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-06-12 13:48:20 +0000 |
commit | aa5d1f93c077f1c80ba06c3055671136f79f74e7 (patch) | |
tree | 12a552004aecf5e77a5b5fed9d74ca4042466960 /src/hash/md4_x86_32 | |
parent | 626a0afa0f232b015d5b5098d5cc7f35fa8284cf (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.cpp | 2 |
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(); } } |