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 --- modes.h | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'modes.h') diff --git a/modes.h b/modes.h index 66b6638..a657eb0 100644 --- a/modes.h +++ b/modes.h @@ -255,23 +255,23 @@ class CipherModeFinalTemplate_CipherHolder : public ObjectHolder, public public: CipherModeFinalTemplate_CipherHolder() { - m_cipher = &m_object; - ResizeBuffers(); + this->m_cipher = &this->m_object; + this->ResizeBuffers(); } CipherModeFinalTemplate_CipherHolder(const byte *key, unsigned int length) { - m_cipher = &m_object; - SetKey(key, length); + this->m_cipher = &this->m_object; + this->SetKey(key, length); } CipherModeFinalTemplate_CipherHolder(const byte *key, unsigned int length, const byte *iv) { - m_cipher = &m_object; - SetKey(key, length, MakeParameters(Name::IV(), iv)); + this->m_cipher = &this->m_object; + this->SetKey(key, length, MakeParameters(Name::IV(), iv)); } CipherModeFinalTemplate_CipherHolder(const byte *key, unsigned int length, const byte *iv, int feedbackSize) { - m_cipher = &m_object; - SetKey(key, length, MakeParameters(Name::IV(), iv)(Name::FeedbackSize(), feedbackSize)); + this->m_cipher = &this->m_object; + this->SetKey(key, length, MakeParameters(Name::IV(), iv)(Name::FeedbackSize(), feedbackSize)); } }; @@ -293,20 +293,20 @@ public: template void CipherModeFinalTemplate_ExternalCipher::SetCipher(BlockCipher &cipher) { - ThrowIfResynchronizable(); - m_cipher = &cipher; - ResizeBuffers(); + this->ThrowIfResynchronizable(); + this->m_cipher = &cipher; + this->ResizeBuffers(); } template void CipherModeFinalTemplate_ExternalCipher::SetCipherWithIV(BlockCipher &cipher, const byte *iv, int feedbackSize) { - ThrowIfInvalidIV(iv); - m_cipher = &cipher; - ResizeBuffers(); - SetFeedbackSize(feedbackSize); - if (IsResynchronizable()) - Resynchronize(iv); + this->ThrowIfInvalidIV(iv); + this->m_cipher = &cipher; + this->ResizeBuffers(); + this->SetFeedbackSize(feedbackSize); + if (this->IsResynchronizable()) + this->Resynchronize(iv); } CRYPTOPP_DLL_TEMPLATE_CLASS CFB_CipherTemplate >; -- cgit v1.2.1