def LcXtea.key

bend-osdev-legacy-ciphers@0.1.0.0 · xtea.bend:52

import bend-osdev-legacy-ciphers@0.1.0.0/xtea.bend as Xtea
import Base
import bend-osdev-bytes@0.1.0.0/bytes.bend as B
import bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend as L

52# the named default: little-endian words (the Linux kernel's "xtea"), 32
53# cycles
54def LcXtea.key(o: B.Octets) -> Result<&2, &2, L.LcError, LcXteaKey>:
55  LcXtea.key_with(True{}, 32n, o)

Uses (6)

Used by (3)