Fabcoin Core  0.16.2
P2P Digital Currency
dh.cpp
Go to the documentation of this file.
1 // dh.cpp - 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 
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 
20 
21 #endif
#define NAMESPACE_BEGIN(x)
Definition: config.h:200
Classes for Diffie-Hellman key exchange.
Diffie-Hellman domain.
Definition: dh.h:25
RandomNumberGenerator & NullRNG()
Random Number Generator that does not produce random numbers.
Definition: cryptlib.cpp:402
#define NAMESPACE_END
Definition: config.h:201