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 --- strciphr.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'strciphr.cpp') diff --git a/strciphr.cpp b/strciphr.cpp index 4cb71c6..ca44ece 100644 --- a/strciphr.cpp +++ b/strciphr.cpp @@ -11,7 +11,7 @@ NAMESPACE_BEGIN(CryptoPP) template byte AdditiveCipherTemplate::GenerateByte() { - PolicyInterface &policy = AccessPolicy(); + PolicyInterface &policy = this->AccessPolicy(); if (m_leftOver == 0) { @@ -40,7 +40,7 @@ inline void AdditiveCipherTemplate::ProcessData(byte *outString, const byte * assert(m_leftOver == 0); - PolicyInterface &policy = AccessPolicy(); + PolicyInterface &policy = this->AccessPolicy(); unsigned int bytesPerIteration = policy.GetBytesPerIteration(); unsigned int alignment = policy.GetAlignment(); @@ -84,7 +84,7 @@ inline void AdditiveCipherTemplate::ProcessData(byte *outString, const byte * template void AdditiveCipherTemplate::Resynchronize(const byte *iv) { - PolicyInterface &policy = AccessPolicy(); + PolicyInterface &policy = this->AccessPolicy(); m_leftOver = 0; m_buffer.New(GetBufferByteSize(policy)); policy.CipherResynchronize(m_buffer, iv); @@ -93,7 +93,7 @@ void AdditiveCipherTemplate::Resynchronize(const byte *iv) template void AdditiveCipherTemplate::Seek(lword position) { - PolicyInterface &policy = AccessPolicy(); + PolicyInterface &policy = this->AccessPolicy(); unsigned int bytesPerIteration = policy.GetBytesPerIteration(); policy.SeekToIteration(position / bytesPerIteration); @@ -111,7 +111,7 @@ void AdditiveCipherTemplate::Seek(lword position) template void CFB_CipherTemplate::Resynchronize(const byte *iv) { - PolicyInterface &policy = AccessPolicy(); + PolicyInterface &policy = this->AccessPolicy(); policy.CipherResynchronize(iv); m_leftOver = policy.GetBytesPerIteration(); } @@ -119,9 +119,9 @@ void CFB_CipherTemplate::Resynchronize(const byte *iv) template void CFB_CipherTemplate::ProcessData(byte *outString, const byte *inString, unsigned int length) { - assert(length % MandatoryBlockSize() == 0); + assert(length % this->MandatoryBlockSize() == 0); - PolicyInterface &policy = AccessPolicy(); + PolicyInterface &policy = this->AccessPolicy(); unsigned int bytesPerIteration = policy.GetBytesPerIteration(); unsigned int alignment = policy.GetAlignment(); byte *reg = policy.GetRegisterBegin(); -- cgit v1.2.1