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 --- gost.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gost.h') diff --git a/gost.h b/gost.h index b8f5b1e..2bfe4c0 100644 --- a/gost.h +++ b/gost.h @@ -17,7 +17,7 @@ struct GOST_Info : public FixedBlockSize<8>, public FixedKeyLength<32> /// GOST class GOST : public GOST_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); @@ -45,8 +45,8 @@ class GOST : public GOST_Info, public BlockCipherDocumentation }; public: - typedef BlockCipherTemplate Encryption; - typedef BlockCipherTemplate Decryption; + typedef BlockCipherFinal Encryption; + typedef BlockCipherFinal Decryption; }; typedef GOST::Encryption GOSTEncryption; -- cgit v1.2.1