def cam.key128

bend-osdev-legacy-ciphers@0.1.0.0 · camellia.bend:298

import bend-osdev-legacy-ciphers@0.1.0.0/camellia.bend as Camellia
import Base
import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as M

298def cam.key128(+xs: List<&2, U32>) -> LcCamelliaKey:
299  +kl = {M.CmBlock{cam.w(xs, 0n), cam.w(xs, 1n), cam.w(xs, 2n), cam.w(xs, 3n)} : M.CmBlock}
300  +t = cam.tables()
301  LcCamelliaKey{cam.ops128(t, kl, cam.ka(t, kl, M.CmBlock.zero()))}

Uses (9)

Used by (1)