def xts.e1

bend-osdev-cipher-modes@0.1.0.0 · xts.bend:185

import bend-osdev-cipher-modes@0.1.0.0/xts.bend as Xts
import Base
import bend-osdev-bytes@0.1.0.0/bytes.bend as B
import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as M

185def xts.e1(~K: Data, ~enc: K -> M.CmBlock -> M.CmBlock, +k: K, r: Result<&2, &2, M.CmError, M.CmBlock>, +xs: List<&2, U32>) -> Result<&2, &2, M.CmError, B.Octets>:
186  match r:
187    case Fail{e}:
188      Fail{e}
189    case Done{t}:
190      xts.e2(~K, ~enc, k, t, M.cm.split(xs), B.len(xs))

Uses (9)

Used by (3)