def tf.q
import bend-osdev-legacy-ciphers@0.1.0.0/twofish.bend as Twofishimport Base
import bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend as L
75def tf.q(t: LcTfTabs, one: Bool, +x: U32) -> U32:
76 match t:
77 case LcTfTabs{q0, q1, m0, m1, m2, m3}:
78 match one:
79 case True{}:
80 L.lc.tab.get(8n, q1, x)
81 case False{}:
82 L.lc.tab.get(8n, q0, x)