law sm3_digest_length
import bend-osdev-hashes@0.1.0.0/LAWS.bend as LAWSimport Base
import bend-osdev-bytes@0.1.0.0/bytes.bend as B
import bend-osdev-hashes@0.1.0.0/sm3.bend as SM
282# SM3 (GB/T 32905): the digest of every message has 32 bytes
283law sm3_digest_length:
284 for +m: B.Octets
285 {B.Octets.len(SM.HsSm3.digest(m)) == 32n : Nat}
Uses (7)
Used by (0)
No other definition uses this definition.