package
Version:
v0.0.0-...-ac9c40d
Opens a new window with list of versions in this module.
Published: Oct 24, 2024
License: BSD-3-Clause
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package gf2e12 provides finite field arithmetic over GF(2^12).
Elt is a field element of characteristic 2 modulo z^12 + z^3 + 1
Add two Elt elements together. Since an addition in Elt(2) is the same as XOR,
this implementation uses a simple XOR for addition.
Inv calculates the multiplicative inverse of Elt element a
Mul calculate the product of two Elt elements.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.