M4RIE  0.20111004
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

◆ _mul

word** gf2e_struct::_mul

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

◆ degree

deg_t gf2e_struct::degree

The degree \(e\).

Examples
tests/test_multiplication.c.

◆ inv

word(* gf2e_struct::inv) (const gf2e *ff, const word a)

implements \(a^{-1}\) for a in \(\mathbb{F}_{2^e}\)

◆ minpoly

word gf2e_struct::minpoly

Irreducible polynomial of degree \(e\).

Examples
tests/test_multiplication.c.

◆ mul

word(* gf2e_struct::mul) (const gf2e *ff, const word a, const word b)

implements \(a \cdot b\) for a in \(\mathbb{F}_{2^e}\).

◆ pow_gen

word* gf2e_struct::pow_gen

pow_gen[i] holds \(a^i / \langle f\rangle\) for \(a\) a generator of this field.

◆ red

word* gf2e_struct::red

red[i] holds precomputed reductors for the minpoly.


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