# GFP2Element Class Reference

`#include <xtr.h>`

List of all members.

## Detailed Description

an element of GF(p^2)

Definition at line 13 of file xtr.h.

## Public Member Functions
| 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 GFP2Element & | Zero ()
## Public Attributes
Integer | c1
Integer | c2

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

- xtr.h
- xtr.cpp