def word
import bend-collections@1.0.0.0/spec/crypto/chacha.bend as Chachaimport Base
73# A little-endian word from the low 8 bits of four bytes.
74def word(b0: U32, b1: U32, b2: U32, b3: U32) -> U32:
75 U32.or(U32.or(U32.or(U32.and(b0, 255), U32.shln(U32.and(b1, 255), 8n)),
76 U32.shln(U32.and(b2, 255), 16n)), U32.shln(U32.and(b3, 255), 24n))