def HsSm3.compress

bend-osdev-hashes@0.1.0.0 · sm3.bend:552

import bend-osdev-hashes@0.1.0.0/sm3.bend as Sm3
import Base
import bend-osdev-hashes@0.1.0.0/hashes.bend as Hs

552# One 64-byte block (a list of another length is read as zero words: the
553# engine passes only whole blocks)
554def HsSm3.compress(cv: Hs.HsW8, blk: List<&2, U32>) -> Hs.HsW8:
555  hs.sm3.rounds(Hs.hs.block.be(blk), cv)

Uses (5)

Used by (4)