20 typedef int RandomizationParameter;
22 GF2_32(
word32 modulus=0x0000008D) : m_modulus(modulus) {}
27 bool Equal(Element a, Element b)
const
30 Element Identity()
const
33 Element Add(Element a, Element b)
const
36 Element& Accumulate(Element &a, Element b)
const
39 Element Inverse(Element a)
const
42 Element Subtract(Element a, Element b)
const
45 Element& Reduce(Element &a, Element b)
const
48 Element Double(Element a)
const
49 {CRYPTOPP_UNUSED(a);
return 0;}
51 Element MultiplicativeIdentity()
const
54 Element Multiply(Element a, Element b)
const;
56 Element
Square(Element a)
const
57 {
return Multiply(a, a);}
59 bool IsUnit(Element a)
const
62 Element MultiplicativeInverse(Element a)
const;
64 Element Divide(Element a, Element b)
const
65 {
return Multiply(a, MultiplicativeInverse(b));}