Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

# elgamal.cpp

    00001 // elgamal.cpp - written and placed in the public domain by Wei Dai
    00002
    00003 #include "pch.h"
    00004 #include "elgamal.h"
    00005 #include "asn.h"
    00006 #include "nbtheory.h"
    00007
    00008 NAMESPACE_BEGIN(CryptoPP)
    00009
    00010 void ElGamal_TestInstantiations()
    00011 {
    00012         ElGamalEncryptor test1(1, 1, 1);
    00013         ElGamalDecryptor test2(NullRNG(), 123);
    00014         ElGamalEncryptor test3(test2);
    00015 }
    00016
    00017 NAMESPACE_END