Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
ModExpPrecomputation Class Reference

#include <modexppc.h>

Inheritance diagram for ModExpPrecomputation:
[legend]
Collaboration diagram for ModExpPrecomputation:
[legend]

Public Member Functions

virtual ~ModExpPrecomputation ()
 
bool NeedConversions () const
 
Element ConvertIn (const Element &v) const
 
virtual Element ConvertOut (const Element &v) const
 
const AbstractGroup< Element > & GetGroup () const
 
Element BERDecodeElement (BufferedTransformation &bt) const
 
void DEREncodeElement (BufferedTransformation &bt, const Element &v) const
 
void SetModulus (const Integer &v)
 
const IntegerGetModulus () const
 
- Public Member Functions inherited from DL_GroupPrecomputation< Integer >
virtual ~DL_GroupPrecomputation ()
 

Private Attributes

value_ptr< MontgomeryRepresentationm_mr
 

Additional Inherited Members

- Public Types inherited from DL_GroupPrecomputation< Integer >
typedef Integer Element
 

Detailed Description

Definition at line 16 of file modexppc.h.

Constructor & Destructor Documentation

virtual ModExpPrecomputation::~ModExpPrecomputation ( )
inlinevirtual

Definition at line 19 of file modexppc.h.

Member Function Documentation

Element ModExpPrecomputation::BERDecodeElement ( BufferedTransformation bt) const
inlinevirtual

Implements DL_GroupPrecomputation< Integer >.

Definition at line 26 of file modexppc.h.

Element ModExpPrecomputation::ConvertIn ( const Element v) const
inlinevirtual

Reimplemented from DL_GroupPrecomputation< Integer >.

Definition at line 23 of file modexppc.h.

virtual Element ModExpPrecomputation::ConvertOut ( const Element v) const
inlinevirtual

Reimplemented from DL_GroupPrecomputation< Integer >.

Definition at line 24 of file modexppc.h.

void ModExpPrecomputation::DEREncodeElement ( BufferedTransformation bt,
const Element v 
) const
inlinevirtual

Implements DL_GroupPrecomputation< Integer >.

Definition at line 27 of file modexppc.h.

Here is the call graph for this function:

const AbstractGroup<Element>& ModExpPrecomputation::GetGroup ( ) const
inlinevirtual

Implements DL_GroupPrecomputation< Integer >.

Definition at line 25 of file modexppc.h.

const Integer& ModExpPrecomputation::GetModulus ( ) const
inline

Definition at line 31 of file modexppc.h.

bool ModExpPrecomputation::NeedConversions ( ) const
inlinevirtual

Reimplemented from DL_GroupPrecomputation< Integer >.

Definition at line 22 of file modexppc.h.

void ModExpPrecomputation::SetModulus ( const Integer v)
inline

Definition at line 30 of file modexppc.h.

Member Data Documentation

value_ptr<MontgomeryRepresentation> ModExpPrecomputation::m_mr
private

Definition at line 34 of file modexppc.h.


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