def cam.w
import bend-osdev-legacy-ciphers@0.1.0.0/camellia.bend as Camelliaimport Base
import bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend as L
293# word i (big-endian) of the key bytes xs
294def cam.w(+xs: List<&2, U32>, +i: Nat) -> U32:
295 +j = Nat.mul(4n, i)
296 L.lc.be(L.lc.at(xs, j), L.lc.at(xs, Nat.add(j, 1n)), L.lc.at(xs, Nat.add(j, 2n)), L.lc.at(xs, Nat.add(j, 3n)))