mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 18:09:48 +00:00
81b1a18063
We have made a fair number of changes, and we don't want WD to receive credit for issues he was not part of
20 lines
440 B
C++
20 lines
440 B
C++
// elgamal.cpp - originally 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)
|
|
|
|
#if defined(CRYPTOPP_DEBUG) && !defined(CRYPTOPP_DOXYGEN_PROCESSING)
|
|
void ElGamal_TestInstantiations()
|
|
{
|
|
ElGamalEncryptor test1(1, 1, 1);
|
|
ElGamalDecryptor test2(NullRNG(), 123);
|
|
ElGamalEncryptor test3(test2);
|
|
}
|
|
#endif
|
|
|
|
NAMESPACE_END
|