def xts.dout
import bend-osdev-cipher-modes@0.1.0.0/xts.bend as Xtsimport Base
import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as M
164def xts.dout(~K: Data, ~dec: 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>:
165 M.cm.join_onto(xts.dec(~K, ~dec, k, init, t), xts.dsteal(~K, ~dec, k, last, tail, xts.alpha_n(List.length(&2, M.CmBlock, init), t)))