def tf.rs
import bend-osdev-legacy-ciphers@0.1.0.0/twofish.bend as Twofishimport Base
248# The RS matrix (section 4.3), over GF(2^8) modulo x^8 + x^6 + x^3 + x^2 + 1
249def tf.rs() -> List<&2, U32>:
250 [1, 164, 85, 135, 90, 88, 219, 158,
251 164, 86, 130, 243, 30, 198, 104, 229,
252 2, 161, 252, 193, 71, 174, 61, 25,
253 164, 85, 135, 90, 88, 219, 158, 3]