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 --- serpent.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'serpent.h') diff --git a/serpent.h b/serpent.h index 6bc2f89d..0d245114 100644 --- a/serpent.h +++ b/serpent.h @@ -17,7 +17,7 @@ struct Serpent_Info : public FixedBlockSize<16>, public VariableKeyLength<16, 1, /// Serpent class Serpent : public Serpent_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); @@ -39,8 +39,8 @@ class Serpent : public Serpent_Info, public BlockCipherDocumentation }; public: - typedef BlockCipherTemplate Encryption; - typedef BlockCipherTemplate Decryption; + typedef BlockCipherFinal Encryption; + typedef BlockCipherFinal Decryption; }; typedef Serpent::Encryption SerpentEncryption; -- cgit v1.2.1