Crypto++  5.6.3
Free C++ class library of cryptographic schemes
Public Types | Public Member Functions | List of all members
GFP2_ONB< F > Class Template Reference

GF(p^2), optimal normal basis. More...

+ Inheritance diagram for GFP2_ONB< F >:

Public Types

typedef F BaseField
 
- Public Types inherited from AbstractRing< GFP2Element >
typedef GFP2Element Element
 
- Public Types inherited from AbstractGroup< GFP2Element >
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
 
- Public Member Functions inherited from AbstractRing< GFP2Element >
 AbstractRing (const AbstractRing &source)
 
AbstractRingoperator= (const AbstractRing &source)
 
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
 
- Public Member Functions inherited from AbstractGroup< GFP2Element >
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
 

Detailed Description

template<class F>
class GFP2_ONB< F >

GF(p^2), optimal normal basis.

Definition at line 48 of file xtr.h.


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