\(\mathbb{F}_{2^e}\) More...
#include <gf2e.h>
Data Fields | |
deg_t | degree |
word | minpoly |
word * | pow_gen |
word * | red |
word ** | _mul |
word(* | inv )(const gf2e *ff, const word a) |
word(* | mul )(const gf2e *ff, const word a, const word b) |
\(\mathbb{F}_{2^e}\)
word** gf2e_struct::_mul |
mul[a][b] holds \( a \cdot b\) for small fields.
deg_t gf2e_struct::degree |
The degree \(e\).
word(* gf2e_struct::inv)(const gf2e *ff, const word a) |
implements \(a^{-1}\) for a in \(\mathbb{F}_{2^e}\)
word gf2e_struct::minpoly |
Irreducible polynomial of degree \(e\).
word(* gf2e_struct::mul)(const gf2e *ff, const word a, const word b) |
implements \(a \cdot b\) for a in \(\mathbb{F}_{2^e}\).
word* gf2e_struct::pow_gen |
pow_gen[i] holds \(a^i / \langle f\rangle\) for \(a\) a generator of this field.
word* gf2e_struct::red |
red[i] holds precomputed reductors for the minpoly.