def xts.steal_t.go

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

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

119def xts.steal_t.go(~K: Data, ~enc: K -> M.CmBlock -> M.CmBlock, partial: Bool, +k: K, p: M.CmBlock, +tail: List<&2, U32>, +t: M.CmBlock) -> List<&2, U32>:
120  match partial:
121    case False{}:
122      Nil{}
123    case True{}:
124      B.take(B.len(tail), M.cm.bytes_of(xts.benc(~K, ~enc, k, p, t)))

Uses (8)

Used by (1)