Crypto++ 8.9
Free C++ class library of cryptographic schemes
|
Diffie-Hellman key agreement algorithm. More...
#include <pubkey.h>
Public Types | |
typedef ELEMENT | Element |
Public Types inherited from DL_KeyAgreementAlgorithm< ELEMENT > | |
typedef ELEMENT | Element |
Public Member Functions | |
Element | AgreeWithEphemeralPrivateKey (const DL_GroupParameters< Element > ¶ms, const DL_FixedBasePrecomputation< Element > &publicPrecomputation, const Integer &privateExponent) const |
Element | AgreeWithStaticPrivateKey (const DL_GroupParameters< Element > ¶ms, const Element &publicElement, bool validateOtherPublicKey, const Integer &privateExponent) const |
Static Public Member Functions | |
static const char * | StaticAlgorithmName () |
Diffie-Hellman key agreement algorithm.
typedef ELEMENT DL_KeyAgreementAlgorithm_DH< ELEMENT, COFACTOR_OPTION >::Element |
|
inlinevirtual |
|
inlinestatic |
|
inlinevirtual |
Implements DL_KeyAgreementAlgorithm< ELEMENT >.
|
inlinevirtual |
Implements DL_KeyAgreementAlgorithm< ELEMENT >.