summaryrefslogtreecommitdiff
path: root/arc4.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 /arc4.h
parentc9f75009a5aebea315a544f19c37ead617a5dd62 (diff)
downloadcryptopp-git-a003ea18cc73995fef6479896a98389812298893.tar.gz
add CRYPTOPP_NO_VTABLE
Diffstat (limited to 'arc4.h')
-rw-r--r--arc4.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/arc4.h b/arc4.h
index cfb7de69..7d592bae 100644
--- a/arc4.h
+++ b/arc4.h
@@ -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";}