Crypto++
8.9
Free C++ class library of cryptographic schemes
dh.cpp
1
// dh.cpp - originally written and placed in the public domain by Wei Dai
2
3
#include "
pch.h
"
4
5
#ifndef CRYPTOPP_IMPORTS
6
7
#include "
dh.h
"
8
9
NAMESPACE_BEGIN(
CryptoPP
)
10
11
#if defined(CRYPTOPP_DEBUG) && !defined(CRYPTOPP_DOXYGEN_PROCESSING)
12
void
DH_TestInstantiations()
13
{
14
DH
dh1;
15
DH
dh2(
NullRNG
(), 10);
16
}
17
#endif
18
19
NAMESPACE_END
20
21
#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
Generated on Thu Jul 11 2024 16:13:15 for Crypto++ by
1.10.0