8 GF256::Element
GF256::Multiply(Element a, Element b)
const 10 word result = 0, t = b;
12 for (
unsigned int i=0; i<8; i++)
23 return (GF256::Element) result;
26 GF256::Element GF256::MultiplicativeInverse(Element a)
const 29 for (
int i=1; i<7; i++)
30 result = Multiply(
Square(result), a);
GF(256) with polynomial basis.
Crypto++ library namespace.