def cm.xor_bytes.go
import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as CipherModesimport Base
import bend-osdev-bytes@0.1.0.0/bytes.bend as B
233def cm.xor_bytes.go(xs: List<&2, U32>, ys: List<&2, U32>, acc: List<&2, U32>) -> List<&2, U32>:
234 match xs ys:
235 case Con{a, s} Con{b, t}:
236 cm.xor_bytes.go(s, t, Con{cm.byte(U32.xor(a, b)), acc})
237 case _ _:
238 B.rev(acc)