def LcCamellia.key256

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

import bend-osdev-legacy-ciphers@0.1.0.0/camellia.bend as Camellia
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

346def LcCamellia.key256(o: B.Octets) -> Result<&2, &2, L.LcError, LcCamelliaKey>:
347  +xs = B.Octets.to_list(o)
348  cam.key.pick(False{}, False{}, Nat.is_eq(B.len(xs), 32n), xs)

Uses (9)

Used by (0)

No other definition uses this definition.