def HsMd4.final
import bend-osdev-hashes@0.1.0.0/md4.bend as Md4import Base
import bend-osdev-bytes@0.1.0.0/bytes.bend as B
import bend-osdev-hashes@0.1.0.0/hashes.bend as Hs
102# the digest of the bytes so far: the padding and the length, then the four
103# words little-endian
104def HsMd4.final(s: Hs.HsMdState<Hs.HsW4>) -> B.Octets:
105 Hs.HsMd.final_md(~Hs.HsW4, ~HsMd4.compress, ~63, ~Hs.hs.len.le, ~Hs.HsW4.le, s)