From f278895908e663a6a5a2c1f63e5523c5004f5d20 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 --- rc6.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rc6.h') diff --git a/rc6.h b/rc6.h index 9fc14f19..3037765d 100644 --- a/rc6.h +++ b/rc6.h @@ -18,7 +18,7 @@ struct RC6_Info : public FixedBlockSize<16>, public VariableKeyLength<16, 0, 255 /// RC6 class RC6 : public RC6_Info, public BlockCipherDocumentation { - class CRYPTOPP_NO_VTABLE Base : public BlockCipherBaseTemplate + class CRYPTOPP_NO_VTABLE Base : public BlockCipherImpl { public: void UncheckedSetKey(CipherDir direction, const byte *userKey, unsigned int length, unsigned int rounds); @@ -41,8 +41,8 @@ class RC6 : public RC6_Info, public BlockCipherDocumentation }; public: - typedef BlockCipherTemplate Encryption; - typedef BlockCipherTemplate Decryption; + typedef BlockCipherFinal Encryption; + typedef BlockCipherFinal Decryption; }; typedef RC6::Encryption RC6Encryption; -- cgit v1.2.1