dh.cpp
// dh.cpp - originally written and placed in the public domain by Wei Dai
#include "pch.h"
#ifndef CRYPTOPP_IMPORTS
#include "dh.h"
NAMESPACE_BEGIN(CryptoPP)
#if defined(CRYPTOPP_DEBUG) && !defined(CRYPTOPP_DOXYGEN_PROCESSING)
void DH_TestInstantiations()
{
DH dh1;
DH dh2(NullRNG(), 10);
}
#endif
NAMESPACE_END
#endif
NullRNG
CRYPTOPP_DLL RandomNumberGenerator & NullRNG()
Random Number Generator that does not produce random numbers.
dh.h
Classes for Diffie-Hellman key exchange.
CryptoPP
Crypto++ library namespace.
pch.h
Precompiled header file.
DH
Diffie-Hellman in GF(p)
Definition: dh.h:212