Fabcoin Core  0.16.2
P2P Digital Currency
Classes | Functions | Variables
gf2n.h File Reference

Classes and functions for schemes over GF(2^n) More...

#include "cryptlib.h"
#include "secblock.h"
#include "algebra.h"
#include "misc.h"
#include "asn.h"
#include <iosfwd>
Include dependency graph for gf2n.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PolynomialMod2
 Polynomial with Coefficients in GF(2) More...
 
class  PolynomialMod2::DivideByZero
 Excpetion thrown when divide by zero is encountered. 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

bool operator== (const CryptoPP::PolynomialMod2 &a, const CryptoPP::PolynomialMod2 &b)
 
bool operator!= (const CryptoPP::PolynomialMod2 &a, const CryptoPP::PolynomialMod2 &b)
 
bool operator> (const CryptoPP::PolynomialMod2 &a, const CryptoPP::PolynomialMod2 &b)
 compares degree More...
 
bool operator>= (const CryptoPP::PolynomialMod2 &a, const CryptoPP::PolynomialMod2 &b)
 compares degree More...
 
bool operator< (const CryptoPP::PolynomialMod2 &a, const CryptoPP::PolynomialMod2 &b)
 compares degree More...
 
bool operator<= (const CryptoPP::PolynomialMod2 &a, const CryptoPP::PolynomialMod2 &b)
 compares degree More...
 
CryptoPP::PolynomialMod2 operator& (const CryptoPP::PolynomialMod2 &a, const CryptoPP::PolynomialMod2 &b)
 
CryptoPP::PolynomialMod2 operator^ (const CryptoPP::PolynomialMod2 &a, const CryptoPP::PolynomialMod2 &b)
 
CryptoPP::PolynomialMod2 operator+ (const CryptoPP::PolynomialMod2 &a, const CryptoPP::PolynomialMod2 &b)
 
CryptoPP::PolynomialMod2 operator- (const CryptoPP::PolynomialMod2 &a, const CryptoPP::PolynomialMod2 &b)
 
CryptoPP::PolynomialMod2 operator* (const CryptoPP::PolynomialMod2 &a, const CryptoPP::PolynomialMod2 &b)
 
CryptoPP::PolynomialMod2 operator/ (const CryptoPP::PolynomialMod2 &a, const CryptoPP::PolynomialMod2 &b)
 
CryptoPP::PolynomialMod2 operator% (const CryptoPP::PolynomialMod2 &a, const CryptoPP::PolynomialMod2 &b)
 
CRYPTOPP_DLL GF2NP *CRYPTOPP_API BERDecodeGF2NP (BufferedTransformation &bt)
 
template<>
NAMESPACE_END void swap (CryptoPP::PolynomialMod2 &a, CryptoPP::PolynomialMod2 &b)
 

Variables

CRYPTOPP_DLL_TEMPLATE_CLASS AbstractGroup< PolynomialMod2 >
 
CRYPTOPP_DLL_TEMPLATE_CLASS AbstractRing< PolynomialMod2 >
 
CRYPTOPP_DLL_TEMPLATE_CLASS AbstractEuclideanDomain< PolynomialMod2 >
 
CRYPTOPP_DLL_TEMPLATE_CLASS EuclideanDomainOf< PolynomialMod2 >
 
CRYPTOPP_DLL_TEMPLATE_CLASS QuotientRing< EuclideanDomainOf< PolynomialMod2 > >
 

Detailed Description

Classes and functions for schemes over GF(2^n)

Definition in file gf2n.h.

Function Documentation

Definition at line 875 of file gf2n.cpp.

Here is the call graph for this function:

bool operator!= ( const CryptoPP::PolynomialMod2 &  a,
const CryptoPP::PolynomialMod2 &  b 
)
inline

Definition at line 252 of file gf2n.h.

CryptoPP::PolynomialMod2 operator% ( const CryptoPP::PolynomialMod2 &  a,
const CryptoPP::PolynomialMod2 &  b 
)
inline

Definition at line 279 of file gf2n.h.

CryptoPP::PolynomialMod2 operator& ( const CryptoPP::PolynomialMod2 &  a,
const CryptoPP::PolynomialMod2 &  b 
)
inline

Definition at line 267 of file gf2n.h.

CryptoPP::PolynomialMod2 operator* ( const CryptoPP::PolynomialMod2 &  a,
const CryptoPP::PolynomialMod2 &  b 
)
inline

Definition at line 275 of file gf2n.h.

CryptoPP::PolynomialMod2 operator+ ( const CryptoPP::PolynomialMod2 &  a,
const CryptoPP::PolynomialMod2 &  b 
)
inline

Definition at line 271 of file gf2n.h.

CryptoPP::PolynomialMod2 operator- ( const CryptoPP::PolynomialMod2 &  a,
const CryptoPP::PolynomialMod2 &  b 
)
inline

Definition at line 273 of file gf2n.h.

CryptoPP::PolynomialMod2 operator/ ( const CryptoPP::PolynomialMod2 &  a,
const CryptoPP::PolynomialMod2 &  b 
)
inline

Definition at line 277 of file gf2n.h.

bool operator< ( const CryptoPP::PolynomialMod2 &  a,
const CryptoPP::PolynomialMod2 &  b 
)
inline

compares degree

Definition at line 261 of file gf2n.h.

bool operator<= ( const CryptoPP::PolynomialMod2 &  a,
const CryptoPP::PolynomialMod2 &  b 
)
inline

compares degree

Definition at line 264 of file gf2n.h.

Here is the caller graph for this function:

bool operator== ( const CryptoPP::PolynomialMod2 &  a,
const CryptoPP::PolynomialMod2 &  b 
)
inline

Definition at line 249 of file gf2n.h.

bool operator> ( const CryptoPP::PolynomialMod2 &  a,
const CryptoPP::PolynomialMod2 &  b 
)
inline

compares degree

Definition at line 255 of file gf2n.h.

Here is the caller graph for this function:

bool operator>= ( const CryptoPP::PolynomialMod2 &  a,
const CryptoPP::PolynomialMod2 &  b 
)
inline

compares degree

Definition at line 258 of file gf2n.h.

CryptoPP::PolynomialMod2 operator^ ( const CryptoPP::PolynomialMod2 &  a,
const CryptoPP::PolynomialMod2 &  b 
)
inline

Definition at line 269 of file gf2n.h.

template<>
NAMESPACE_END void swap ( CryptoPP::PolynomialMod2 &  a,
CryptoPP::PolynomialMod2 &  b 
)
inline

Definition at line 371 of file gf2n.h.

Variable Documentation

Definition at line 285 of file gf2n.h.

Definition at line 283 of file gf2n.h.

Definition at line 284 of file gf2n.h.

Definition at line 286 of file gf2n.h.

Definition at line 287 of file gf2n.h.