From 7aff1e4cb053394db57c2814d5fe1e6493e0cc75 Mon Sep 17 00:00:00 2001 From: watcherhd Date: Sat, 26 Nov 2011 14:19:43 +0000 Subject: Project folders rename part 2 git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@214 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