def HsStreebog.final512
import bend-osdev-hashes@0.1.0.0/streebog.bend as Streebogimport 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
839# the digests of the bytes so far (a state from init512 for final512, from
840# init256 for final256)
841def HsStreebog.final512(s: Hs.HsMdState<HsStbCv>) -> B.Octets:
842 hs.stb.out512(hs.stb.finish(s))