Skip to main content

mul_table

Function mul_table 

Source
pub fn mul_table(c: u8) -> [u8; 256]
Expand description

A 256-entry lookup table for multiplication by a fixed constant c: table[b] = c · b in GF(2^8). Precompute once per coefficient; a whole region then multiplies by one table lookup per byte — the SIMD-friendly hot path of Reed-Solomon coding.