def lc.b0.bits

bend-osdev-cipher-core@0.1.0.0 · cipher_core.bend:152

import bend-osdev-cipher-core@0.1.0.0/cipher_core.bend as CipherCore
import Base
import bend-osdev-word64@0.1.1.0/word64.bend as W

152# the bytes of w, by bits: b0 the most significant
153def lc.b0.bits(w: U32) -> U32:
154  match w:
155    case U32{x}:
156      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)