def add_words

bend-collections@1.0.0.0 · spec/crypto/chacha.bend:106

import bend-collections@1.0.0.0/spec/crypto/chacha.bend as Chacha
import Base

106def add_words(xs: List<&2, U32>, ys: List<&2, U32>) -> List<&2, U32>:
107  match xs ys:
108    case x <> xt y <> yt: U32.add(x, y) <> add_words(xt, yt)
109    case _ _: Nil{}

Uses (3)

Used by (1)