M4RIE  0.20120415
 All Data Structures Files Functions Variables Macros Groups Pages
Data Structures | Functions
gf2e.h File Reference

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

#include <m4ri/m4ri.h>

Go to the source code of this file.

Data Structures

struct  gf2e
 \(\mathbb{F}_{2^e}\) More...

Functions

void gf2e_free (gf2e *ff)
static size_t gf2e_degree_to_w (const gf2e *ff)
static word * gf2e_t16_init (const gf2e *ff, const word a)
static void gf2e_t16_free (word *mul)
 Free multiplication table.
static void gf2e_make_pow_gen (gf2e *ff)

Detailed Description

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

Author
Martin Albrecht marti.nosp@m.nral.nosp@m.brech.nosp@m.t@go.nosp@m.oglem.nosp@m.ail..nosp@m.com

Function Documentation

static size_t gf2e_degree_to_w ( const gf2e ff)
inlinestatic

Return the width used for storing elements of ff

Parameters
ffFinite field.
void gf2e_free ( gf2e ff)

Free ff

Parameters
ffFinite field.
Examples:
tests/test_elimination.cc.
static void gf2e_make_pow_gen ( gf2e ff)
inlinestatic

Generate gf2e::pow_gen.

Parameters
ffFinite field.
static void gf2e_t16_free ( word *  mul)
inlinestatic

Free multiplication table.

Parameters
mulMultiplication table
static word* gf2e_t16_init ( const gf2e ff,
const word  a 
)
inlinestatic

Compute all multiples by a of vectors fitting into 16 bits.

Parameters
ffFinite field.
aFinite field element.
Todo:
: this is a bit of overkill, we could do better