From cb4a46e7fbe62d788e66ed6121c717a2d22a4d7c Mon Sep 17 00:00:00 2001 From: watcherhd Date: Thu, 21 Apr 2011 14:14:52 +0000 Subject: svn.miranda.im is moving to a new home! git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@7 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- cryptopp/crypto/elgamal.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 cryptopp/crypto/elgamal.cpp (limited to 'cryptopp/crypto/elgamal.cpp') diff --git a/cryptopp/crypto/elgamal.cpp b/cryptopp/crypto/elgamal.cpp new file mode 100644 index 0000000..ff0a1dc --- /dev/null +++ b/cryptopp/crypto/elgamal.cpp @@ -0,0 +1,17 @@ +// elgamal.cpp - written and placed in the public domain by Wei Dai + +#include "pch.h" +#include "elgamal.h" +#include "asn.h" +#include "nbtheory.h" + +NAMESPACE_BEGIN(CryptoPP) + +void ElGamal_TestInstantiations() +{ + ElGamalEncryptor test1(1, 1, 1); + ElGamalDecryptor test2(NullRNG(), 123); + ElGamalEncryptor test3(test2); +} + +NAMESPACE_END -- cgit v1.2.3