def tf.q

bend-osdev-legacy-ciphers@0.1.0.0 · twofish.bend:75

import bend-osdev-legacy-ciphers@0.1.0.0/twofish.bend as Twofish
import 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)

Uses (4)

Used by (1)