diff options
author | weidai <weidai11@users.noreply.github.com> | 2003-05-16 00:53:53 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2003-05-16 00:53:53 +0000 |
commit | a003ea18cc73995fef6479896a98389812298893 (patch) | |
tree | b993d0d14070142a6cb22133ae181bfd2f9db4cc /arc4.h | |
parent | c9f75009a5aebea315a544f19c37ead617a5dd62 (diff) | |
download | cryptopp-git-a003ea18cc73995fef6479896a98389812298893.tar.gz |
add CRYPTOPP_NO_VTABLE
Diffstat (limited to 'arc4.h')
-rw-r--r-- | arc4.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -6,8 +6,8 @@ NAMESPACE_BEGIN(CryptoPP) //! <a href="http://www.weidai.com/scan-mirror/cs.html#RC4">Alleged RC4</a> -/*! You can #ARC4 typedef rather than this class directly. */ -class ARC4_Base : public VariableKeyLength<16, 1, 256>, public RandomNumberGenerator, public SymmetricCipher +/*! Use #ARC4 typedef rather than this class directly. */ +class CRYPTOPP_NO_VTABLE ARC4_Base : public VariableKeyLength<16, 1, 256>, public RandomNumberGenerator, public SymmetricCipher { public: ~ARC4_Base(); @@ -38,8 +38,8 @@ protected: typedef SymmetricCipherFinalTemplate<ARC4_Base> ARC4; //! Modified ARC4: it discards the first 256 bytes of keystream which may be weaker than the rest -/*! You can #MARC4 typedef rather than this class directly. */ -class MARC4_Base : public ARC4_Base +/*! Use #MARC4 typedef rather than this class directly. */ +class CRYPTOPP_NO_VTABLE MARC4_Base : public ARC4_Base { public: static const char *StaticAlgorithmName() {return "MARC4";} |