def tf.t

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

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

38# entry x of table i (0 to 3) of ts
39def tf.t(+ts: List<&2, U32>, i: Nat, +x: U32) -> U32:
40  L.lc.at(ts, Nat.add(Nat.mul(16n, i), U32.to_nat(x)))

Uses (7)

Used by (2)