22 #ifndef TAO_CRYPT_RIPEMD_HPP
23 #define TAO_CRYPT_RIPEMD_HPP
28 #if defined(TAOCRYPT_X86ASM_AVAILABLE) && defined(TAO_ASM)
38 enum { BLOCK_SIZE = 64, DIGEST_SIZE = 20, 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; }
51 void Update(
const byte*, word32);
57 void AsmTransform(
const byte* data, word32 times);
68 #endif // TAO_CRYPT_RIPEMD_HPP