diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2004-06-19 08:28:09 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2004-06-19 08:28:09 +0000 |
commit | 5283f5059b14d63ed0ed54c8384890320fbb9ec6 (patch) | |
tree | 187e9abc73ba1918391e24a30eb0b9638f12941e /seckey.h | |
parent | accbb9d893ba34323919f5e17db17e6833d96f50 (diff) | |
download | cryptopp-5283f5059b14d63ed0ed54c8384890320fbb9ec6.tar.gz |
port to GCC 3.4
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@168 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'seckey.h')
-rw-r--r-- | seckey.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -156,7 +156,7 @@ template <class INFO, class BASE = BlockCipher> class CRYPTOPP_NO_VTABLE BlockCipherImpl : public AlgorithmImpl<SimpleKeyingInterfaceImpl<BASE, INFO>, INFO>, public INFO { public: - unsigned int BlockSize() const {return BLOCKSIZE;} + unsigned int BlockSize() const {return this->BLOCKSIZE;} }; //! . @@ -166,11 +166,11 @@ class BlockCipherFinal : public ClonableImpl<BlockCipherFinal<DIR, BASE>, BASE> public: BlockCipherFinal() {} BlockCipherFinal(const byte *key) - {SetKey(key, DEFAULT_KEYLENGTH);} + {SetKey(key, this->DEFAULT_KEYLENGTH);} BlockCipherFinal(const byte *key, unsigned int length) {SetKey(key, length);} BlockCipherFinal(const byte *key, unsigned int length, unsigned int rounds) - {SetKeyWithRounds(key, length, rounds);} + {this->SetKeyWithRounds(key, length, rounds);} bool IsForwardTransformation() const {return DIR == ENCRYPTION;} @@ -203,9 +203,9 @@ class MessageAuthenticationCodeFinal : public ClonableImpl<MessageAuthentication public: MessageAuthenticationCodeFinal() {} MessageAuthenticationCodeFinal(const byte *key) - {SetKey(key, DEFAULT_KEYLENGTH);} + {SetKey(key, this->DEFAULT_KEYLENGTH);} MessageAuthenticationCodeFinal(const byte *key, unsigned int length) - {SetKey(key, length);} + {this->SetKey(key, length);} }; // ************** documentation *************** |