6 #ifndef CRYPTOPP_GF256_H 7 #define CRYPTOPP_GF256_H 32 Element
Add(Element
a, Element
b)
const 61 Element MultiplicativeInverse(Element a)
const;
63 Element
Divide(Element a, Element b)
const 64 {
return Multiply(a, MultiplicativeInverse(b));}
Element & Reduce(Element &a, Element b) const
Utility functions for the Crypto++ library.
bool IsUnit(Element a) const
Element Subtract(Element a, Element b) const
#define NAMESPACE_BEGIN(x)
Abstract base classes that provide a uniform interface to this library.
bool Equal(Element a, Element b) const
Interface for random number generators.
Element RandomElement(RandomNumberGenerator &rng, int ignored=0) const
GF(256) with polynomial basis.
Element Add(Element a, Element b) const
Element Square(Element a) const
Element Divide(Element a, Element b) const
virtual byte GenerateByte()
Generate new random byte and return it.
Element Inverse(Element a) const
Element Double(Element a) const
#define CRYPTOPP_UNUSED(x)
Element & Accumulate(Element &a, Element b) const
void Multiply(word *R, word *T, const word *A, const word *B, size_t N)
int RandomizationParameter