summaryrefslogtreecommitdiff
path: root/elgamal.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2003-07-19 03:47:20 +0000
committerweidai <weidai11@users.noreply.github.com>2003-07-19 03:47:20 +0000
commit5307588c579cea190110da798d498f3ffc15079f (patch)
tree09d13a6fae123a46962ad82f4b88b7c91bd08335 /elgamal.h
parentdb4981d479d967dafa5ec2f55c6a0735f897b2cb (diff)
downloadcryptopp-git-5307588c579cea190110da798d498f3ffc15079f.tar.gz
remove Diamond2, code size reductions
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 1779f44f..3d6734ec 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