\(\mathbb{F}_{2^e}\)
More...
#include <m4ri/m4ri.h>
#include <m4rie/gf2x.h>
Go to the source code of this file.
static size_t gf2e_degree_to_w |
( |
const gf2e * |
ff | ) |
|
|
inlinestatic |
Return the width used for storing elements of ff
- Parameters
-
void gf2e_free |
( |
gf2e * |
ff | ) |
|
gf2e* gf2e_init |
( |
const word |
minpoly | ) |
|
Create finite field from minimal polynomial
- Parameters
-
minpoly | Polynomial represented as series of bits. |
red
pow_gen: X^i
mul tables
- Examples:
- tests/test_multiplication.c.
static void gf2e_t16_free |
( |
word * |
mul | ) |
|
|
inlinestatic |
Free multiplication table.
- Parameters
-
static word* gf2e_t16_init |
( |
const gf2e * |
ff, |
|
|
const word |
a |
|
) |
| |
|
inlinestatic |
Compute all multiples by a of vectors fitting into 16 bits.
- Parameters
-
ff | Finite field. |
a | Finite field element. |
- Todo:
- : this is a bit of overkill, we could do better