summaryrefslogtreecommitdiff
path: root/elgamal.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-19 03:47:20 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-19 03:47:20 +0000
commit153b79ef5d9b042b23eba9aa332ec025bbc3300e (patch)
tree09d13a6fae123a46962ad82f4b88b7c91bd08335 /elgamal.h
parent609446928f2c6f2e51cc906a037cd79ef4dfd312 (diff)
downloadcryptopp-153b79ef5d9b042b23eba9aa332ec025bbc3300e.tar.gz
remove Diamond2, code size reductions
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@107 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'elgamal.h')
-rw-r--r--elgamal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/elgamal.h b/elgamal.h
index 1779f44..3d6734e 100644
--- a/elgamal.h
+++ b/elgamal.h
@@ -106,14 +106,14 @@ struct ElGamal
static const char * StaticAlgorithmName() {return "ElgamalEnc/Crypto++Padding";}
- class CRYPTOPP_NO_VTABLE EncryptorImpl : public ElGamalObjectImpl<DL_EncryptorBase<Integer>, SchemeOptions, SchemeOptions::PublicKey>, public PublicKeyCopier<SchemeOptions>
+ class EncryptorImpl : public ElGamalObjectImpl<DL_EncryptorBase<Integer>, SchemeOptions, SchemeOptions::PublicKey>, public PublicKeyCopier<SchemeOptions>
{
public:
void CopyKeyInto(SchemeOptions::PublicKey &key) const
{key = GetKey();}
};
- class CRYPTOPP_NO_VTABLE DecryptorImpl : public ElGamalObjectImpl<DL_DecryptorBase<Integer>, SchemeOptions, SchemeOptions::PrivateKey>, public PrivateKeyCopier<SchemeOptions>
+ class DecryptorImpl : public ElGamalObjectImpl<DL_DecryptorBase<Integer>, SchemeOptions, SchemeOptions::PrivateKey>, public PrivateKeyCopier<SchemeOptions>
{
public:
void CopyKeyInto(SchemeOptions::PublicKey &key) const