GFP2_ONB< F > Class Template Reference

#include <xtr.h>

Inheritance diagram for GFP2_ONB< F >:

AbstractRing< GFP2Element > AbstractGroup< GFP2Element > List of all members.

Detailed Description

template<class F>
class GFP2_ONB< F >

GF(p^2), optimal normal basis.

Definition at line 43 of file xtr.h.

Public Types

typedef F BaseField
typedef GFP2Element Element

Public Member Functions

 GFP2_ONB (const Integer &p)
const IntegerGetModulus () const
GFP2Element ConvertIn (const Integer &a) const
GFP2Element ConvertIn (const GFP2Element &a) const
GFP2Element ConvertOut (const GFP2Element &a) const
bool Equal (const GFP2Element &a, const GFP2Element &b) const
const ElementIdentity () const
const ElementAdd (const Element &a, const Element &b) const
const ElementInverse (const Element &a) const
const ElementDouble (const Element &a) const
const ElementSubtract (const Element &a, const Element &b) const
ElementAccumulate (Element &a, const Element &b) const
ElementReduce (Element &a, const Element &b) const
bool IsUnit (const Element &a) const
const ElementMultiplicativeIdentity () const
const ElementMultiply (const Element &a, const Element &b) const
const ElementMultiplicativeInverse (const Element &a) const
const ElementSquare (const Element &a) const
Element Exponentiate (const Element &a, const Integer &e) const
const ElementPthPower (const Element &a) const
void RaiseToPthPower (Element &a) const
const ElementSpecialOperation1 (const Element &a) const
const ElementSpecialOperation2 (const Element &x, const Element &y, const Element &z) const
virtual const ElementDivide (const Element &a, const Element &b) const
virtual Element CascadeExponentiate (const Element &x, const Integer &e1, const Element &y, const Integer &e2) const
virtual void SimultaneousExponentiate (Element *results, const Element &base, const Integer *exponents, unsigned int exponentsCount) const
virtual const AbstractGroup<
GFP2Element > & 
MultiplicativeGroup () const
virtual bool InversionIsFast () const
virtual Element ScalarMultiply (const Element &a, const Integer &e) const
virtual Element CascadeScalarMultiply (const Element &x, const Integer &e1, const Element &y, const Integer &e2) const
virtual void SimultaneousMultiply (Element *results, const Element &base, const Integer *exponents, unsigned int exponentsCount) const

Protected Attributes

BaseField modp
GFP2Element result
Integer t


The documentation for this class was generated from the following file:
Generated on Sat Dec 23 02:07:24 2006 for Crypto++ by  doxygen 1.5.1-p1