Expand description

SSDV systematic erasure FEC: Galois field table generator procedural macros.

This field contains procedural macros that are used to generate the tables for the Galois field arithmetic in the ssdv-fec crate.

The Galois field GF(2⁸) is realized as the quotient GF(2)[x] / (x⁸ + x⁴ + x³ + x² + 1). Its arithmetic is implemented using a table of the exponential and a table of the logarithm, which are generated by this crate.

An element a₇x⁷ + ⋯ + a₀ in GF(2⁸) is encoded as an element of u8, where the leading coefficient a₇ is placed in the most-significant bit and the independent term a₀ is placed in the least-significant bit.

Macros