def xts.d1
bend-osdev-cipher-modes@0.1.0.0 · xts.bend:192
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
192def xts.d1(~K: Data, ~dec: 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>:
193 match r:
194 case Fail{e}:
195 Fail{e}
196 case Done{t}:
197 xts.d2(~K, ~dec, k, t, M.cm.split(xs), B.len(xs))