539364846a
git-svn-id: http://mc-server.googlecode.com/svn/trunk@808 0a769ca7-a7f5-676a-18bf-c427514a06d6
18 lines
334 B
C++
18 lines
334 B
C++
// 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
|