def cr.f128.word

bend-osdev-crypto@0.1.0.0 · inst_cm.bend:59

import bend-osdev-crypto@0.1.0.0/inst_cm.bend as InstCm
import Base
import bend-osdev-word64@0.1.0.0/word64.bend as W

59# the word with bytes a, b, c, d, most significant first
60def cr.f128.word(a: U32, b: U32, c: U32, d: U32) -> U32:
61  U32{W.W64.bits.cat(8n, 24n, cr.f128.bits8(d), W.W64.bits.cat(8n, 16n, cr.f128.bits8(c), W.W64.bits.cat(8n, 8n, cr.f128.bits8(b), cr.f128.bits8(a))))}

Uses (3)

Used by (1)