Crypto++
dh.cpp
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 
9 NAMESPACE_BEGIN(CryptoPP)
10 
11 void DH_TestInstantiations()
12 {
13  DH dh1;
14  DH dh2(NullRNG(), 10);
15 }
16 
17 NAMESPACE_END
18 
19 #endif
RandomNumberGenerator & NullRNG()
returns a reference that can be passed to functions that ask for a RNG but doesn't actually use it ...
Definition: cryptlib.cpp:295
,
Definition: dh.h:13