M4RIE  0.20111004
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
Data Fields
gf2e_struct Struct Reference

\(\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)
 

Detailed Description

\(\mathbb{F}_{2^e}\)

Examples:
tests/test_multiplication.c.

Field Documentation

word** gf2e_struct::_mul

mul[a][b] holds \( a \cdot b\) for small fields.

deg_t gf2e_struct::degree

The degree \(e\).

Examples:
tests/test_multiplication.c.
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\).

Examples:
tests/test_multiplication.c.
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.


The documentation for this struct was generated from the following file: