def xts.e1.fast

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

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

250def xts.e1.fast(~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>:
251  match r:
252    case Fail{e}:
253      Fail{e}
254    case Done{t}:
255      xts.e2.fast(~K, ~enc, k, t, M.cm.split.fast(xs), B.len.fast(xs))

Uses (9)

Used by (2)