22 #ifndef TAO_CRYPT_MD5_HPP
23 #define TAO_CRYPT_MD5_HPP
28 #if defined(TAOCRYPT_X86ASM_AVAILABLE) && defined(TAO_ASM)
38 enum { BLOCK_SIZE = 64, DIGEST_SIZE = 16, PAD_SIZE = 56,
39 TAO_BYTE_ORDER = LittleEndianOrder };
42 ByteOrder getByteOrder()
const {
return ByteOrder(TAO_BYTE_ORDER); }
43 word32 getBlockSize()
const {
return BLOCK_SIZE; }
44 word32 getDigestSize()
const {
return DIGEST_SIZE; }
45 word32 getPadSize()
const {
return PAD_SIZE; }
48 MD5& operator= (
const MD5&);
51 void Update(
const byte*, word32);
58 void AsmTransform(
const byte* data, word32 times);
61 inline void swap(
MD5& a,
MD5& b)
69 #endif // TAO_CRYPT_MD5_HPP