Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | List of all members
DL_Algorithm_GDSA< T > Class Template Reference

GDSA algorithm. More...

#include <gfpcrypt.h>

Inheritance diagram for DL_Algorithm_GDSA< T >:
[legend]
Collaboration diagram for DL_Algorithm_GDSA< T >:
[legend]

Public Member Functions

CRYPTOPP_STATIC_CONSTEXPR const char *CRYPTOPP_API StaticAlgorithmName ()
 
virtual ~DL_Algorithm_GDSA ()
 
void Sign (const DL_GroupParameters< T > &params, const Integer &x, const Integer &k, const Integer &e, Integer &r, Integer &s) const
 
bool Verify (const DL_GroupParameters< T > &params, const DL_PublicKey< T > &publicKey, const Integer &e, const Integer &r, const Integer &s) const
 
- Public Member Functions inherited from DL_ElgamalLikeSignatureAlgorithm< T >
virtual ~DL_ElgamalLikeSignatureAlgorithm ()
 
virtual Integer RecoverPresignature (const DL_GroupParameters< T > &params, const DL_PublicKey< T > &publicKey, const Integer &r, const Integer &s) const
 
virtual size_t RLen (const DL_GroupParameters< T > &params) const
 
virtual size_t SLen (const DL_GroupParameters< T > &params) const
 
virtual bool IsDeterministic () const
 

Detailed Description

template<class T>
class DL_Algorithm_GDSA< T >

GDSA algorithm.

Template Parameters
TFieldElement type or class

Definition at line 198 of file gfpcrypt.h.

Constructor & Destructor Documentation

template<class T>
virtual DL_Algorithm_GDSA< T >::~DL_Algorithm_GDSA ( )
inlinevirtual

Definition at line 203 of file gfpcrypt.h.

Member Function Documentation

template<class T>
void DL_Algorithm_GDSA< T >::Sign ( const DL_GroupParameters< T > &  params,
const Integer x,
const Integer k,
const Integer e,
Integer r,
Integer s 
) const
inlinevirtual

Implements DL_ElgamalLikeSignatureAlgorithm< T >.

Definition at line 205 of file gfpcrypt.h.

template<class T>
CRYPTOPP_STATIC_CONSTEXPR const char* CRYPTOPP_API DL_Algorithm_GDSA< T >::StaticAlgorithmName ( )
inline

Definition at line 201 of file gfpcrypt.h.

template<class T>
bool DL_Algorithm_GDSA< T >::Verify ( const DL_GroupParameters< T > &  params,
const DL_PublicKey< T > &  publicKey,
const Integer e,
const Integer r,
const Integer s 
) const
inlinevirtual

Implements DL_ElgamalLikeSignatureAlgorithm< T >.

Definition at line 214 of file gfpcrypt.h.


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