def xts.eout.fast

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

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

225def xts.eout.fast(~K: Data, ~enc: K -> M.CmBlock -> M.CmBlock, +k: K, +t: M.CmBlock, +init: List<&2, M.CmBlock>, +last: M.CmBlock, +tail: List<&2, U32>) -> List<&2, U32>:
226  +tl = xts.alpha_n(M.cm.blocks.len(init), t)
227  M.cm.join_onto.fast(M.cm.blocks.append(xts.enc.fast(~K, ~enc, k, init, t), Con{xts.steal_c(~K, ~enc, k, last, tail, tl), Nil{}}), xts.steal_t(~K, ~enc, k, last, tail, tl))

Uses (10)

Used by (3)