def lc.be.bits

bend-osdev-legacy-ciphers@0.1.0.0 · legacy_ciphers.bend:151

import bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend as LegacyCiphers
import Base
import bend-osdev-word64@0.1.0.0/word64.bend as W

151# the word with bytes a (most significant), b, c, d, by bits
152def lc.be.bits(a: U32, b: U32, c: U32, d: U32) -> U32:
153  U32{W.W64.bits.cat(8n, 24n, lc.bits8(d), W.W64.bits.cat(8n, 16n, lc.bits8(c), W.W64.bits.cat(8n, 8n, lc.bits8(b), lc.bits8(a))))}

Uses (3)

Used by (2)