Fabcoin Core  0.16.2
P2P Digital Currency
Public Types | Public Member Functions | Protected Attributes | List of all members
DL_GroupParametersImpl< GROUP_PRECOMP, BASE_PRECOMP, BASE > Class Template Reference

Base implementation of Discrete Log (DL) group parameters. More...

#include <pubkey.h>

Inheritance diagram for DL_GroupParametersImpl< GROUP_PRECOMP, BASE_PRECOMP, BASE >:
[legend]
Collaboration diagram for DL_GroupParametersImpl< GROUP_PRECOMP, BASE_PRECOMP, BASE >:
[legend]

Public Types

typedef GROUP_PRECOMP GroupPrecomputation
 
typedef GROUP_PRECOMP::Element Element
 
typedef BASE_PRECOMP BasePrecomputation
 

Public Member Functions

virtual ~DL_GroupParametersImpl ()
 
const DL_GroupPrecomputation< Element > & GetGroupPrecomputation () const
 Retrieves the group precomputation. More...
 
const DL_FixedBasePrecomputation< Element > & GetBasePrecomputation () const
 Retrieves the group precomputation. More...
 
DL_FixedBasePrecomputation< Element > & AccessBasePrecomputation ()
 Retrieves the group precomputation. More...
 

Protected Attributes

GROUP_PRECOMP m_groupPrecomputation
 
BASE_PRECOMP m_gpc
 

Detailed Description

template<class GROUP_PRECOMP, class BASE_PRECOMP = DL_FixedBasePrecomputationImpl<typename GROUP_PRECOMP::Element>, class BASE = DL_GroupParameters<typename GROUP_PRECOMP::Element>>
class DL_GroupParametersImpl< GROUP_PRECOMP, BASE_PRECOMP, BASE >

Base implementation of Discrete Log (DL) group parameters.

Template Parameters
GROUP_PRECOMPgroup precomputation class
BASE_PRECOMPfixed base precomputation class
BASEclass or type of an element

Definition at line 947 of file pubkey.h.

Member Typedef Documentation

template<class GROUP_PRECOMP, class BASE_PRECOMP = DL_FixedBasePrecomputationImpl<typename GROUP_PRECOMP::Element>, class BASE = DL_GroupParameters<typename GROUP_PRECOMP::Element>>
typedef BASE_PRECOMP DL_GroupParametersImpl< GROUP_PRECOMP, BASE_PRECOMP, BASE >::BasePrecomputation

Definition at line 952 of file pubkey.h.

template<class GROUP_PRECOMP, class BASE_PRECOMP = DL_FixedBasePrecomputationImpl<typename GROUP_PRECOMP::Element>, class BASE = DL_GroupParameters<typename GROUP_PRECOMP::Element>>
typedef GROUP_PRECOMP::Element DL_GroupParametersImpl< GROUP_PRECOMP, BASE_PRECOMP, BASE >::Element

Definition at line 951 of file pubkey.h.

template<class GROUP_PRECOMP, class BASE_PRECOMP = DL_FixedBasePrecomputationImpl<typename GROUP_PRECOMP::Element>, class BASE = DL_GroupParameters<typename GROUP_PRECOMP::Element>>
typedef GROUP_PRECOMP DL_GroupParametersImpl< GROUP_PRECOMP, BASE_PRECOMP, BASE >::GroupPrecomputation

Definition at line 950 of file pubkey.h.

Constructor & Destructor Documentation

template<class GROUP_PRECOMP, class BASE_PRECOMP = DL_FixedBasePrecomputationImpl<typename GROUP_PRECOMP::Element>, class BASE = DL_GroupParameters<typename GROUP_PRECOMP::Element>>
virtual DL_GroupParametersImpl< GROUP_PRECOMP, BASE_PRECOMP, BASE >::~DL_GroupParametersImpl ( )
inlinevirtual

Definition at line 954 of file pubkey.h.

Member Function Documentation

template<class GROUP_PRECOMP, class BASE_PRECOMP = DL_FixedBasePrecomputationImpl<typename GROUP_PRECOMP::Element>, class BASE = DL_GroupParameters<typename GROUP_PRECOMP::Element>>
DL_FixedBasePrecomputation<Element>& DL_GroupParametersImpl< GROUP_PRECOMP, BASE_PRECOMP, BASE >::AccessBasePrecomputation ( )
inline

Retrieves the group precomputation.

Returns
a non-const reference to the group precomputation using a fixed base

Definition at line 966 of file pubkey.h.

template<class GROUP_PRECOMP, class BASE_PRECOMP = DL_FixedBasePrecomputationImpl<typename GROUP_PRECOMP::Element>, class BASE = DL_GroupParameters<typename GROUP_PRECOMP::Element>>
const DL_FixedBasePrecomputation<Element>& DL_GroupParametersImpl< GROUP_PRECOMP, BASE_PRECOMP, BASE >::GetBasePrecomputation ( ) const
inline

Retrieves the group precomputation.

Returns
a const reference to the group precomputation using a fixed base

Definition at line 962 of file pubkey.h.

template<class GROUP_PRECOMP, class BASE_PRECOMP = DL_FixedBasePrecomputationImpl<typename GROUP_PRECOMP::Element>, class BASE = DL_GroupParameters<typename GROUP_PRECOMP::Element>>
const DL_GroupPrecomputation<Element>& DL_GroupParametersImpl< GROUP_PRECOMP, BASE_PRECOMP, BASE >::GetGroupPrecomputation ( ) const
inline

Retrieves the group precomputation.

Returns
a const reference to the group precomputation

Definition at line 958 of file pubkey.h.

Here is the caller graph for this function:

Member Data Documentation

template<class GROUP_PRECOMP, class BASE_PRECOMP = DL_FixedBasePrecomputationImpl<typename GROUP_PRECOMP::Element>, class BASE = DL_GroupParameters<typename GROUP_PRECOMP::Element>>
BASE_PRECOMP DL_GroupParametersImpl< GROUP_PRECOMP, BASE_PRECOMP, BASE >::m_gpc
protected

Definition at line 970 of file pubkey.h.

template<class GROUP_PRECOMP, class BASE_PRECOMP = DL_FixedBasePrecomputationImpl<typename GROUP_PRECOMP::Element>, class BASE = DL_GroupParameters<typename GROUP_PRECOMP::Element>>
GROUP_PRECOMP DL_GroupParametersImpl< GROUP_PRECOMP, BASE_PRECOMP, BASE >::m_groupPrecomputation
protected

Definition at line 969 of file pubkey.h.


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