From ae515e0b4c86dd3309f8897f9bd4e7fedcd4588f Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 16 May 2003 00:53:53 +0000 Subject: add CRYPTOPP_NO_VTABLE git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@69 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 332f36a..b8f5b1e 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 Base : public BlockCipherBaseTemplate + class CRYPTOPP_NO_VTABLE Base : public BlockCipherBaseTemplate { public: void UncheckedSetKey(CipherDir direction, const byte *userKey, unsigned int length); @@ -32,13 +32,13 @@ class GOST : public GOST_Info, public BlockCipherDocumentation FixedSizeSecBlock key; }; - class Enc : public Base + class CRYPTOPP_NO_VTABLE Enc : public Base { public: void ProcessAndXorBlock(const byte *inBlock, const byte *xorBlock, byte *outBlock) const; }; - class Dec : public Base + class CRYPTOPP_NO_VTABLE Dec : public Base { public: void ProcessAndXorBlock(const byte *inBlock, const byte *xorBlock, byte *outBlock) const; -- cgit v1.2.1