def r64.raw

bend-osdev-crc@0.1.0.0 · crc.bend:138

import bend-osdev-crc@0.1.0.0/crc.bend as Crc
import Base
import bend-osdev-word64@0.1.0.0/word64.bend as W

138def r64.raw(xs: List<&2, U32>, +poly: W.W64, c: W.W64) -> W.W64:
139  match xs:
140    case Nil{}:
141      c
142    case Con{h, t}:
143      r64.raw(t, poly, r64.bits(8n, poly, W.W64.xor(c, W.W64.from_u32(U32.and(h, 255)))))

Uses (7)

Used by (3)