Pcbc.cr.pcbc.enc.go: def of bend-osdev-crypto@0.1.0.0 Import: import bend-osdev-crypto@0.1.0.0/pcbc.bend as Pcbc Lines 39-45 of bend-osdev-crypto@0.1.0.0/pcbc.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-crypto@0.1.0.0/pcbc.bend&start_line=39&end_line=45 import Base import bend-osdev-crypto@0.1.0.0/modes.bend as Md def cr.pcbc.enc.go(~K: Data, ~Blk: Data, ~enc: K -> Blk -> Blk, ~bxor: Blk -> Blk -> Blk, +k: K, bs: List<&2, Blk>, v: Blk, acc: List<&2, Blk>) -> List<&2, Blk>: match bs: case Nil{}: Md.cr.blks.rev_onto(~Blk, acc, Nil{}) case Con{+p, t}: +c = enc(k, bxor(p, v)) cr.pcbc.enc.go(~K, ~Blk, ~enc, ~bxor, k, t, bxor(p, c), Con{c, acc}) Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=bend-osdev-crypto@0.1.0.0/modes.bend&name=cr.blks.rev_onto