pub fn mul(a: u8, b: u8) -> u8
Multiplication in GF(2⁸) using the Russian-peasant algorithm. Runs in exactly 8 iterations regardless of input values.