proofs/crypto/sha/correctness.bend fails
raw source on the hub · import 0xe4067e0d858024083f36a7abe7281e89/proofs/crypto/sha/correctness.bend as Correctness
6 imports
import Base import ../../../src/crypto/sha/state.bend as State import ../../../src/crypto/sha/sha256.bend as SHA import ../../../spec/crypto/sha.bend as FIPS import ./conformance.bend as Conformance import ./laws.bend as Laws
Laws
law digest_octets_length unverifiedits file does not pass the checker (fails)source · line 15 · raw
@s:0xe4067e0d858024083f36a7abe7281e89/src/crypto/sha/state.State -> {List.length(&2, U32, 0xe4067e0d858024083f36a7abe7281e89/spec/crypto/sha.digest_octets(0xe4067e0d858024083f36a7abe7281e89/spec/crypto/sha.digest(s))) == 32n : Nat}