Fabcoin Core  0.16.2
P2P Digital Currency
Public Types | Public Member Functions | Private Attributes | List of all members
EcPrecomputation< ECP > Class Template Reference

ECP precomputation specialization. More...

#include <ecp.h>

Inheritance diagram for EcPrecomputation< ECP >:
[legend]
Collaboration diagram for EcPrecomputation< ECP >:
[legend]

Public Types

typedef ECP EllipticCurve
 
- Public Types inherited from DL_GroupPrecomputation< ECP::Point >
typedef ECP::Point Element
 

Public Member Functions

virtual ~EcPrecomputation ()
 
bool NeedConversions () const
 
Element ConvertIn (const Element &P) const
 
Element ConvertOut (const Element &P) const
 
const AbstractGroup< Element > & GetGroup () const
 
Element BERDecodeElement (BufferedTransformation &bt) const
 
void DEREncodeElement (BufferedTransformation &bt, const Element &v) const
 
void SetCurve (const ECP &ec)
 
const ECPGetCurve () const
 
- Public Member Functions inherited from DL_GroupPrecomputation< ECP::Point >
virtual ~DL_GroupPrecomputation ()
 

Private Attributes

value_ptr< ECPm_ec
 
value_ptr< ECPm_ecOriginal
 

Detailed Description

template<>
class EcPrecomputation< ECP >

ECP precomputation specialization.

Implementation of DL_GroupPrecomputation<ECP::Point> with input and output conversions for Montgomery modular multiplication.

See also
DL_GroupPrecomputation, ModularArithmetic, MontgomeryRepresentation

Definition at line 112 of file ecp.h.

Member Typedef Documentation

Definition at line 115 of file ecp.h.

Constructor & Destructor Documentation

virtual EcPrecomputation< ECP >::~EcPrecomputation ( )
inlinevirtual

Definition at line 117 of file ecp.h.

Member Function Documentation

Element EcPrecomputation< ECP >::BERDecodeElement ( BufferedTransformation bt) const
inlinevirtual

Implements DL_GroupPrecomputation< ECP::Point >.

Definition at line 126 of file ecp.h.

Element EcPrecomputation< ECP >::ConvertIn ( const Element P) const
inlinevirtual

Reimplemented from DL_GroupPrecomputation< ECP::Point >.

Definition at line 121 of file ecp.h.

Element EcPrecomputation< ECP >::ConvertOut ( const Element P) const
inlinevirtual

Reimplemented from DL_GroupPrecomputation< ECP::Point >.

Definition at line 123 of file ecp.h.

void EcPrecomputation< ECP >::DEREncodeElement ( BufferedTransformation bt,
const Element v 
) const
inlinevirtual

Implements DL_GroupPrecomputation< ECP::Point >.

Definition at line 127 of file ecp.h.

const ECP& EcPrecomputation< ECP >::GetCurve ( ) const
inline

Definition at line 135 of file ecp.h.

const AbstractGroup<Element>& EcPrecomputation< ECP >::GetGroup ( ) const
inlinevirtual

Implements DL_GroupPrecomputation< ECP::Point >.

Definition at line 125 of file ecp.h.

bool EcPrecomputation< ECP >::NeedConversions ( ) const
inlinevirtual

Reimplemented from DL_GroupPrecomputation< ECP::Point >.

Definition at line 120 of file ecp.h.

void EcPrecomputation< ECP >::SetCurve ( const ECP ec)
inline

Definition at line 130 of file ecp.h.

Member Data Documentation

value_ptr<ECP> EcPrecomputation< ECP >::m_ec
private

Definition at line 138 of file ecp.h.

value_ptr<ECP> EcPrecomputation< ECP >::m_ecOriginal
private

Definition at line 138 of file ecp.h.


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