summaryrefslogtreecommitdiff
path: root/des.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2003-05-16 00:53:53 +0000
committerweidai <weidai11@users.noreply.github.com>2003-05-16 00:53:53 +0000
commita003ea18cc73995fef6479896a98389812298893 (patch)
treeb993d0d14070142a6cb22133ae181bfd2f9db4cc /des.h
parentc9f75009a5aebea315a544f19c37ead617a5dd62 (diff)
downloadcryptopp-git-a003ea18cc73995fef6479896a98389812298893.tar.gz
add CRYPTOPP_NO_VTABLE
Diffstat (limited to 'des.h')
-rw-r--r--des.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/des.h b/des.h
index 65b4d33b..5a7f2dfe 100644
--- a/des.h
+++ b/des.h
@@ -21,7 +21,7 @@ struct DES_Info : public FixedBlockSize<8>, public FixedKeyLength<8>
check or correct the parity bits if you wish. */
class DES : public DES_Info, public BlockCipherDocumentation
{
- class Base : public BlockCipherBaseTemplate<DES_Info>
+ class CRYPTOPP_NO_VTABLE Base : public BlockCipherBaseTemplate<DES_Info>
{
public:
void UncheckedSetKey(CipherDir direction, const byte *userKey, unsigned int length = 8);
@@ -54,7 +54,7 @@ struct DES_EDE2_Info : public FixedBlockSize<8>, public FixedKeyLength<16>
/// <a href="http://www.weidai.com/scan-mirror/cs.html#DESede">DES-EDE2</a>
class DES_EDE2 : public DES_EDE2_Info, public BlockCipherDocumentation
{
- class Base : public BlockCipherBaseTemplate<DES_EDE2_Info>
+ class CRYPTOPP_NO_VTABLE Base : public BlockCipherBaseTemplate<DES_EDE2_Info>
{
public:
void UncheckedSetKey(CipherDir direction, const byte *userKey, unsigned int length);
@@ -77,7 +77,7 @@ struct DES_EDE3_Info : public FixedBlockSize<8>, public FixedKeyLength<24>
/// <a href="http://www.weidai.com/scan-mirror/cs.html#DESede">DES-EDE3</a>
class DES_EDE3 : public DES_EDE3_Info, public BlockCipherDocumentation
{
- class Base : public BlockCipherBaseTemplate<DES_EDE3_Info>
+ class CRYPTOPP_NO_VTABLE Base : public BlockCipherBaseTemplate<DES_EDE3_Info>
{
public:
void UncheckedSetKey(CipherDir dir, const byte *key, unsigned int length);
@@ -100,7 +100,7 @@ struct DES_XEX3_Info : public FixedBlockSize<8>, public FixedKeyLength<24>
/// <a href="http://www.weidai.com/scan-mirror/cs.html#DESX">DES-XEX3</a>, AKA DESX
class DES_XEX3 : public DES_XEX3_Info, public BlockCipherDocumentation
{
- class Base : public BlockCipherBaseTemplate<DES_XEX3_Info>
+ class CRYPTOPP_NO_VTABLE Base : public BlockCipherBaseTemplate<DES_XEX3_Info>
{
public:
void UncheckedSetKey(CipherDir dir, const byte *key, unsigned int length);