6 #ifndef CRYPTOPP_GF2_32_H 7 #define CRYPTOPP_GF2_32_H 33 Element
Add(Element
a, Element
b)
const 62 Element MultiplicativeInverse(Element a)
const;
64 Element
Divide(Element a, Element b)
const 65 {
return Multiply(a, MultiplicativeInverse(b));}
Element MultiplicativeIdentity() const
Element Inverse(Element a) const
GF(2^32) with polynomial basis.
Utility functions for the Crypto++ library.
#define NAMESPACE_BEGIN(x)
virtual word32 GenerateWord32(word32 min=0, word32 max=0xffffffffUL)
Generate a random 32 bit word in the range min to max, inclusive.
Abstract base classes that provide a uniform interface to this library.
Element & Accumulate(Element &a, Element b) const
Interface for random number generators.
bool IsUnit(Element a) const
Element Divide(Element a, Element b) const
Classes and functions for secure memory allocations.
bool Equal(Element a, Element b) const
Element RandomElement(RandomNumberGenerator &rng, int ignored=0) const
GF2_32(word32 modulus=0x0000008D)
#define CRYPTOPP_UNUSED(x)
void Multiply(word *R, word *T, const word *A, const word *B, size_t N)
int RandomizationParameter
Element Subtract(Element a, Element b) const
Element Double(Element a) const
Element & Reduce(Element &a, Element b) const
Element Square(Element a) const
Element Add(Element a, Element b) const