def lc.b0.bits

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

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

155# the bytes of w, by bits: b0 the most significant
156def lc.b0.bits(w: U32) -> U32:
157  match w:
158    case U32{x}:
159      lc.of8(W.W64.bits.hi(8n, 8n, W.W64.bits.hi(8n, 16n, W.W64.bits.hi(8n, 24n, x))))

Uses (3)

Used by (3)