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

# gf2n.h File Reference

## Detailed Description

Definition in file gf2n.h.

`#include "cryptlib.h"`
`#include "secblock.h"`
`#include "misc.h"`
`#include "algebra.h"`
`#include <iosfwd>`

Go to the source code of this file.

## Compounds
class | PolynomialMod2
| Polynomial with Coefficients in GF(2). More...
class | PolynomialMod2::DivideByZero
| divide by zero exception More...
class | GF2NP
| GF(2^n) with Polynomial Basis. More...
class | GF2NT
| GF(2^n) with Trinomial Basis. More...
class | GF2NPP
| GF(2^n) with Pentanomial Basis. More...
## Functions
GF2NP * | BERDecodeGF2NP (BufferedTransformation &bt)
bool | operator== (const::PolynomialMod2 &a, const::PolynomialMod2 &b)
bool | operator!= (const::PolynomialMod2 &a, const::PolynomialMod2 &b)
bool | operator> (const::PolynomialMod2 &a, const::PolynomialMod2 &b)
| compares degree
bool | operator>= (const::PolynomialMod2 &a, const::PolynomialMod2 &b)
| compares degree
bool | operator< (const::PolynomialMod2 &a, const::PolynomialMod2 &b)
| compares degree
bool | operator<= (const::PolynomialMod2 &a, const::PolynomialMod2 &b)
| compares degree
inline::PolynomialMod2 | operator & (const::PolynomialMod2 &a, const::PolynomialMod2 &b)
inline::PolynomialMod2 | operator^ (const::PolynomialMod2 &a, const::PolynomialMod2 &b)
inline::PolynomialMod2 | operator+ (const::PolynomialMod2 &a, const::PolynomialMod2 &b)
inline::PolynomialMod2 | operator- (const::PolynomialMod2 &a, const::PolynomialMod2 &b)
inline::PolynomialMod2 | operator * (const::PolynomialMod2 &a, const::PolynomialMod2 &b)
inline::PolynomialMod2 | operator/ (const::PolynomialMod2 &a, const::PolynomialMod2 &b)
inline::PolynomialMod2 | operator% (const::PolynomialMod2 &a, const::PolynomialMod2 &b)
template<> void | swap (::PolynomialMod2 &a,::PolynomialMod2 &b)