Crypto++
Main Page
Namespaces
Classes
Files
File List
File Members
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
dh.h
NullRNG
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
DH_Domain
,
Definition:
dh.h:13
Generated on Tue Aug 28 2018 17:37:37 for Crypto++ by
1.8.5