Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
334 B

  1. // elgamal.cpp - written and placed in the public domain by Wei Dai
  2. #include "pch.h"
  3. #include "elgamal.h"
  4. #include "asn.h"
  5. #include "nbtheory.h"
  6. NAMESPACE_BEGIN(CryptoPP)
  7. void ElGamal_TestInstantiations()
  8. {
  9. ElGamalEncryptor test1(1, 1, 1);
  10. ElGamalDecryptor test2(NullRNG(), 123);
  11. ElGamalEncryptor test3(test2);
  12. }
  13. NAMESPACE_END