From 572fe07633123ce38abf28c6426356e37aef3a99 Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 4 Jul 2003 00:17:37 +0000 Subject: create DLL version, fix GetNextIV() bug in CTR and OFB modes git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@87 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- panama.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'panama.h') diff --git a/panama.h b/panama.h index d18ba49..e1f73f5 100644 --- a/panama.h +++ b/panama.h @@ -30,13 +30,13 @@ class PanamaHash : protected Panama, public IteratedHash(0) {Panama::Reset();} + PanamaHash() {Panama::Reset();} unsigned int DigestSize() const {return DIGESTSIZE;} void TruncatedFinal(byte *hash, unsigned int size); protected: void Init() {Panama::Reset();} - void vTransform(const word32 *data) {Iterate(1, data);} // push + void HashEndianCorrectedBlock(const word32 *data) {Iterate(1, data);} // push unsigned int HashMultipleBlocks(const word32 *input, unsigned int length); }; @@ -65,7 +65,7 @@ protected: /// Panama MAC template -class PanamaMAC : public MessageAuthenticationCodeTemplate > +class PanamaMAC : public MessageAuthenticationCodeImpl > { public: PanamaMAC() {} @@ -96,7 +96,7 @@ protected: template struct PanamaCipher : public PanamaCipherInfo, public SymmetricCipherDocumentation { - typedef SymmetricCipherFinalTemplate, AdditiveCipherTemplate<> > > Encryption; + typedef SymmetricCipherFinal, AdditiveCipherTemplate<> > > Encryption; typedef Encryption Decryption; }; -- cgit v1.2.1