def cm.join.go
import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as CipherModesimport Base
221# the bytes of the blocks rs (last first) in front of acc
222def cm.join.go(rs: List<&2, CmBlock>, acc: List<&2, U32>) -> List<&2, U32>:
223 match rs:
224 case Nil{}:
225 acc
226 case Con{b, t}:
227 cm.join.go(t, cm.bytes_onto(b, acc))