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

an element of GF(p^2) More...

#include <xtr.h>

Collaboration diagram for GFP2Element:
[legend]

Public Member Functions

 GFP2Element ()
 
 GFP2Element (const Integer &c1, const Integer &c2)
 
 GFP2Element (const byte *encodedElement, unsigned int size)
 
void Encode (byte *encodedElement, unsigned int size)
 
bool operator== (const GFP2Element &rhs) const
 
bool operator!= (const GFP2Element &rhs) const
 
void swap (GFP2Element &a)
 

Static Public Member Functions

static const GFP2ElementZero ()
 

Public Attributes

Integer c1
 
Integer c2
 

Detailed Description

an element of GF(p^2)

Definition at line 17 of file xtr.h.

Constructor & Destructor Documentation

GFP2Element::GFP2Element ( )
inline

Definition at line 20 of file xtr.h.

GFP2Element::GFP2Element ( const Integer c1,
const Integer c2 
)
inline

Definition at line 21 of file xtr.h.

GFP2Element::GFP2Element ( const byte encodedElement,
unsigned int  size 
)
inline

Definition at line 22 of file xtr.h.

Member Function Documentation

void GFP2Element::Encode ( byte encodedElement,
unsigned int  size 
)
inline

Definition at line 25 of file xtr.h.

Here is the caller graph for this function:

bool GFP2Element::operator!= ( const GFP2Element rhs) const
inline

Definition at line 32 of file xtr.h.

Here is the call graph for this function:

bool GFP2Element::operator== ( const GFP2Element rhs) const
inline

Definition at line 31 of file xtr.h.

void GFP2Element::swap ( GFP2Element a)
inline

Definition at line 34 of file xtr.h.

Here is the caller graph for this function:

const GFP2Element & GFP2Element::Zero ( )
static

Definition at line 14 of file xtr.cpp.

Here is the caller graph for this function:

Member Data Documentation

Integer GFP2Element::c1

Definition at line 42 of file xtr.h.

Integer GFP2Element::c2

Definition at line 42 of file xtr.h.


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