/* * MD4 (x86-32) * (C) 1999-2007 Jack Lloyd * * Distributed under the terms of the Botan license */ #include namespace Botan { /** * MD4 compression function in x86-32 asm * @param digest the current digest * @param input the input block * @param M the message buffer */ extern "C" void botan_md4_x86_32_compress(u32bit digest[4], const byte input[64], u32bit M[16]); /* * MD4 Compression Function */ 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[0], input, &M[0]); input += hash_block_size(); } } }