mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-30 14:09:19 +00:00
update thirdparty, add build script
This commit is contained in:
Vendored
+17
-22
@@ -1,22 +1,17 @@
|
||||
// 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"
|
||||
|
||||
// Squash MS LNK4221 and libtool warnings
|
||||
extern const char ELGAMAL_FNAME[] = __FILE__;
|
||||
|
||||
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
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user