def le32

bend-collections-laws-crypto@1.0.0.0 · spec/crypto/sha3.bend:42

import bend-collections-laws-crypto@1.0.0.0/spec/crypto/sha3.bend as Sha3
import Base

42def le32(a: U32, b: U32, c: U32, d: U32) -> U32:
43  U32.or(U32.or(U32.or(U32.and(a, 255), U32.shln(U32.and(b, 255), 8n)),
44    U32.shln(U32.and(c, 255), 16n)), U32.shln(U32.and(d, 255), 24n))

Uses (4)

Used by (2)