def HsMd.cv
import bend-osdev-hashes@0.1.0.0/hashes.bend as Hashesimport Base
146# The state's parts: the chaining value, the bytes of the unfinished block
147# (first first), how many there are, and the number of blocks compressed
148def HsMd.cv(~C: Data, s: HsMdState<C>) -> C:
149 match s:
150 case HsMdState{cv, buf, cnt, nb}:
151 cv