From 5283f5059b14d63ed0ed54c8384890320fbb9ec6 Mon Sep 17 00:00:00 2001 From: weidai Date: Sat, 19 Jun 2004 08:28:09 +0000 Subject: port to GCC 3.4 git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@168 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- mdc.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'mdc.h') diff --git a/mdc.h b/mdc.h index b587f15..ce12ca5 100644 --- a/mdc.h +++ b/mdc.h @@ -30,22 +30,22 @@ class MDC : public MDC_Info void UncheckedSetKey(CipherDir direction, const byte *userKey, unsigned int length) { assert(direction == ENCRYPTION); - AssertValidKeyLength(length); - memcpy(Key(), userKey, KEYLENGTH); - T::CorrectEndianess(Key(), Key(), KEYLENGTH); + this->AssertValidKeyLength(length); + memcpy(Key(), userKey, this->KEYLENGTH); + T::CorrectEndianess(Key(), Key(), this->KEYLENGTH); } void ProcessAndXorBlock(const byte *inBlock, const byte *xorBlock, byte *outBlock) const { - T::CorrectEndianess(Buffer(), (HashWordType *)inBlock, BLOCKSIZE); + T::CorrectEndianess(Buffer(), (HashWordType *)inBlock, this->BLOCKSIZE); T::Transform(Buffer(), Key()); if (xorBlock) { - T::CorrectEndianess(Buffer(), Buffer(), BLOCKSIZE); - xorbuf(outBlock, xorBlock, m_buffer, BLOCKSIZE); + T::CorrectEndianess(Buffer(), Buffer(), this->BLOCKSIZE); + xorbuf(outBlock, xorBlock, m_buffer, this->BLOCKSIZE); } else - T::CorrectEndianess((HashWordType *)outBlock, Buffer(), BLOCKSIZE); + T::CorrectEndianess((HashWordType *)outBlock, Buffer(), this->BLOCKSIZE); } bool IsPermutation() const {return false;} -- cgit v1.2.1