Crypto++
|
, More...
#include <dh.h>
Public Types | |
typedef GROUP_PARAMETERS | GroupParameters |
typedef GroupParameters::Element | Element |
typedef DL_KeyAgreementAlgorithm_DH < Element, COFACTOR_OPTION > | DH_Algorithm |
typedef DH_Domain < GROUP_PARAMETERS, COFACTOR_OPTION > | Domain |
Public Member Functions | |
DH_Domain (const GroupParameters ¶ms) | |
DH_Domain (BufferedTransformation &bt) | |
template<class T2 > | |
DH_Domain (RandomNumberGenerator &v1, const T2 &v2) | |
template<class T2 , class T3 > | |
DH_Domain (RandomNumberGenerator &v1, const T2 &v2, const T3 &v3) | |
template<class T2 , class T3 , class T4 > | |
DH_Domain (RandomNumberGenerator &v1, const T2 &v2, const T3 &v3, const T4 &v4) | |
template<class T1 , class T2 > | |
DH_Domain (const T1 &v1, const T2 &v2) | |
template<class T1 , class T2 , class T3 > | |
DH_Domain (const T1 &v1, const T2 &v2, const T3 &v3) | |
template<class T1 , class T2 , class T3 , class T4 > | |
DH_Domain (const T1 &v1, const T2 &v2, const T3 &v3, const T4 &v4) | |
const GroupParameters & | GetGroupParameters () const |
GroupParameters & | AccessGroupParameters () |
void | GeneratePublicKey (RandomNumberGenerator &rng, const byte *privateKey, byte *publicKey) const |
std::string | AlgorithmName () const |
CryptoParameters & | AccessCryptoParameters () |
unsigned int | AgreedValueLength () const |
unsigned int | PrivateKeyLength () const |
unsigned int | PublicKeyLength () const |
void | GeneratePrivateKey (RandomNumberGenerator &rng, byte *privateKey) const |
bool | Agree (byte *agreedValue, const byte *privateKey, const byte *otherPublicKey, bool validateOtherPublicKey=true) const |
const Element & | GetGenerator () const |
Static Public Member Functions | |
static std::string | StaticAlgorithmName () |
Protected Member Functions | |
const DL_GroupParameters < Element > & | GetAbstractGroupParameters () const |
,