Crypto++ 8.7
Free C++ class library of cryptographic schemes
Public Member Functions | List of all members
DL_KeyDerivationAlgorithm_P1363< T, DHAES_MODE, KDF > Class Template Reference

P1363 based Key Derivation Method. More...

#include <gfpcrypt.h>

+ Inheritance diagram for DL_KeyDerivationAlgorithm_P1363< T, DHAES_MODE, KDF >:

Public Member Functions

bool ParameterSupported (const char *name) const
 
void Derive (const DL_GroupParameters< T > &params, byte *derivedKey, size_t derivedLength, const T &agreedElement, const T &ephemeralPublicKey, const NameValuePairs &parameters) const
 
virtual bool ParameterSupported (const char *name) const
 
virtual void Derive (const DL_GroupParameters< T > &groupParams, byte *derivedKey, size_t derivedLength, const T &agreedElement, const T &ephemeralPublicKey, const NameValuePairs &derivationParams) const =0
 

Detailed Description

template<class T, bool DHAES_MODE, class KDF>
class DL_KeyDerivationAlgorithm_P1363< T, DHAES_MODE, KDF >

P1363 based Key Derivation Method.

Template Parameters
TFieldElement type or class
DHAES_MODEflag indicating DHAES mode
KDFkey derivation function

FieldElement T can be Integer, ECP or EC2N.

Definition at line 958 of file gfpcrypt.h.

Constructor & Destructor Documentation

◆ ~DL_KeyDerivationAlgorithm_P1363()

template<class T , bool DHAES_MODE, class KDF >
virtual DL_KeyDerivationAlgorithm_P1363< T, DHAES_MODE, KDF >::~DL_KeyDerivationAlgorithm_P1363 ( )
inlinevirtual

Definition at line 961 of file gfpcrypt.h.

Member Function Documentation

◆ ParameterSupported()

template<class T , bool DHAES_MODE, class KDF >
bool DL_KeyDerivationAlgorithm_P1363< T, DHAES_MODE, KDF >::ParameterSupported ( const char *  name) const
inlinevirtual

Reimplemented from DL_KeyDerivationAlgorithm< T >.

Definition at line 963 of file gfpcrypt.h.

◆ Derive()

template<class T , bool DHAES_MODE, class KDF >
void DL_KeyDerivationAlgorithm_P1363< T, DHAES_MODE, KDF >::Derive ( const DL_GroupParameters< T > &  params,
byte derivedKey,
size_t  derivedLength,
const T &  agreedElement,
const T &  ephemeralPublicKey,
const NameValuePairs parameters 
) const
inlinevirtual

Implements DL_KeyDerivationAlgorithm< T >.

Definition at line 964 of file gfpcrypt.h.


The documentation for this class was generated from the following file: