Fabcoin Core
0.16.2
P2P Digital Currency
|
Interface for DL key agreement algorithms. More...
#include <pubkey.h>
Public Types | |
typedef T | Element |
Public Member Functions | |
virtual | ~DL_KeyAgreementAlgorithm () |
virtual Element | AgreeWithEphemeralPrivateKey (const DL_GroupParameters< Element > ¶ms, const DL_FixedBasePrecomputation< Element > &publicPrecomputation, const Integer &privateExponent) const =0 |
virtual Element | AgreeWithStaticPrivateKey (const DL_GroupParameters< Element > ¶ms, const Element &publicElement, bool validateOtherPublicKey, const Integer &privateExponent) const =0 |
Interface for DL key agreement algorithms.
typedef T DL_KeyAgreementAlgorithm< T >::Element |
|
inlinevirtual |
|
pure virtual |
Implemented in DL_KeyAgreementAlgorithm_DH< ELEMENT, COFACTOR_OPTION >, and DL_KeyAgreementAlgorithm_DH< Integer, NoCofactorMultiplication >.
|
pure virtual |
Implemented in DL_KeyAgreementAlgorithm_DH< ELEMENT, COFACTOR_OPTION >, and DL_KeyAgreementAlgorithm_DH< Integer, NoCofactorMultiplication >.