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 --- rc2.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rc2.h') diff --git a/rc2.h b/rc2.h index 963f17c..20b5ac1 100644 --- a/rc2.h +++ b/rc2.h @@ -18,7 +18,7 @@ struct RC2_Info : public FixedBlockSize<8>, public VariableKeyLength<16, 1, 128> /// RC2 class RC2 : public RC2_Info, public BlockCipherDocumentation { - class CRYPTOPP_NO_VTABLE Base : public BlockCipherBaseTemplate + class CRYPTOPP_NO_VTABLE Base : public BlockCipherImpl { public: void UncheckedSetKey(CipherDir direction, const byte *key, unsigned int length, unsigned int effectiveKeyLength); @@ -49,7 +49,7 @@ class RC2 : public RC2_Info, public BlockCipherDocumentation }; public: - class Encryption : public BlockCipherTemplate + class Encryption : public BlockCipherFinal { public: Encryption() {} @@ -57,7 +57,7 @@ public: {SetKeyWithEffectiveKeyLength(key, keyLen, effectiveLen);} }; - class Decryption : public BlockCipherTemplate + class Decryption : public BlockCipherFinal { public: Decryption() {} -- cgit v1.2.1