Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

GFP2Element Class Reference

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

#include <xtr.h>

List of all members.

Public Methods

 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)
bool operator!= (const GFP2Element &rhs)
void swap (GFP2Element &a)

Public Attributes

Integer c1
Integer c2

Static Public Methods

GFP2Element& Zero ()


Detailed Description

an element of GF(p^2).

Definition at line 13 of file xtr.h.


Constructor & Destructor Documentation

GFP2Element::GFP2Element ( ) [inline]
 

Definition at line 16 of file xtr.h.

GFP2Element::GFP2Element ( const Integer & c1,
const Integer & c2 ) [inline]
 

Definition at line 17 of file xtr.h.

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

Definition at line 18 of file xtr.h.


Member Function Documentation

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

Definition at line 21 of file xtr.h.

GFP2Element & GFP2Element::Zero ( ) [static]
 

Definition at line 11 of file xtr.cpp.

bool GFP2Element::operator!= ( const GFP2Element & rhs ) [inline]
 

Definition at line 28 of file xtr.h.

bool GFP2Element::operator== ( const GFP2Element & rhs ) [inline]
 

Definition at line 27 of file xtr.h.

void GFP2Element::swap ( GFP2Element & a ) [inline]
 

Definition at line 30 of file xtr.h.


Member Data Documentation

Integer GFP2Element::c1
 

Definition at line 38 of file xtr.h.

Integer GFP2Element::c2
 

Definition at line 38 of file xtr.h.


The documentation for this class was generated from the following files:
Generated at Mon Jan 15 01:16:50 2001 for Crypto++ by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000