Modes64.m64.split: def of bend-osdev-legacy-ciphers@0.1.0.0 Import: import bend-osdev-legacy-ciphers@0.1.0.0/modes64.bend as Modes64 Lines 95-103 of bend-osdev-legacy-ciphers@0.1.0.0/modes64.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/modes64.bend&start_line=95&end_line=103 import Base import bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend as L # the bytes as whole blocks (reversed onto acc), or None if bytes are left over def m64.split(xs: List<&2, U32>, acc: List<&2, L.LcBlock64>) -> Maybe<&2, List<&2, L.LcBlock64>>: match xs: case Nil{}: Some{m64.rev_onto(acc, Nil{})} case Con{a0, Con{a1, Con{a2, Con{a3, Con{a4, Con{a5, Con{a6, Con{a7, t}}}}}}}}: m64.split(t, Con{L.lc.block8(a0, a1, a2, a3, a4, a5, a6, a7), acc}) case _: None{} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend&name=LcBlock64 https://jend.leeeet.dev/definition.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend&name=lc.block8 https://jend.leeeet.dev/definition.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/modes64.bend&name=m64.rev_onto