~/bend-docscommunity

LAWS.bend open laws/TODOs

raw source on the hub · import bend-osdev-crypto@0.1.0.0/LAWS.bend as LAWS

Laws of the interfaces and of the generic algorithms built on them.

Generic laws (first part) hold for every algorithm that has an interface's shape, so they are stated once over its template arguments: they need nothing from the algorithm but its type. A law that needs a property of the algorithm (a block cipher's decryption undoes its encryption, a hash in pieces is the hash of the whole) cannot take that property as a hypothesis and still pass --verdict (a template hypothesis has no model in the BendTT kernel, and an ordinary one is affine, so an induction cannot use it at every step). Those laws are stated once per instance instead, from the law schemas in gen/instances.py, which also writes their proofs (second part).

64 imports
import Base
import bend-osdev-bytes@0.1.0.0/bytes.bend as B
import bend-osdev-word64@0.1.0.0/word64.bend as W
import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as M
import bend-osdev-cipher-modes@0.1.0.0/aes.bend as X
import bend-osdev-cipher-modes@0.1.0.0/ccm.bend as MC
import bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend as L
import bend-osdev-legacy-ciphers@0.1.0.0/des.bend as D
import bend-osdev-legacy-ciphers@0.1.0.0/tdes.bend as T
import bend-osdev-legacy-ciphers@0.1.0.0/sm4.bend as S
import bend-osdev-legacy-ciphers@0.1.0.0/camellia.bend as Ca
import bend-osdev-legacy-ciphers@0.1.0.0/serpent.bend as Sp
import bend-osdev-legacy-ciphers@0.1.0.0/twofish.bend as Tf
import bend-osdev-legacy-ciphers@0.1.0.0/rc4.bend as R
import bend-osdev-legacy-ciphers@0.1.0.0/aria.bend as Ar
import bend-osdev-legacy-ciphers@0.1.0.0/cast6.bend as C6
import bend-osdev-legacy-ciphers@0.1.0.0/blowfish.bend as Bf
import bend-osdev-legacy-ciphers@0.1.0.0/cast5.bend as C5
import bend-osdev-legacy-ciphers@0.1.0.0/tea.bend as Te
import bend-osdev-legacy-ciphers@0.1.0.0/xtea.bend as Xt
import bend-osdev-legacy-ciphers@0.1.0.0/fcrypt.bend as Fc
import bend-osdev-crc@0.1.0.0/crc.bend as C
import ./crypto.bend as Cr
import ./stream.bend as St
import ./block.bend as Bk
import ./modes.bend as Md
import ./pcbc.bend as Pc
import ./lrw.bend as Lw
import ./xcbc.bend as Xc
import ./vmac.bend as Vm
import ./cts.bend as Ct
import ./octets.bend as Oc
import bend-osdev-gf@0.1.0.0/gf128.bend as G
import ./hash.bend as H
import ./mac.bend as Mc
import ./hmac.bend as Hm
import ./hkdf.bend as Hk
import ./sign.bend as Sg
import ./kex.bend as Kx
import ./inst_cm.bend as CM
import ./inst_lc.bend as LC
import ./inst_aes.bend as A
import ./inst_rc4.bend as RC
import ./inst_ccm.bend as CC
import ./inst_cmac.bend as CMI
import ./inst_crc.bend as CR
import ./inst_sha2.bend as SH
import ./inst_sha3.bend as S3
import bend-osdev-hashes@0.1.0.0/hashes.bend as Hs
import bend-osdev-hashes@0.1.0.0/md4.bend as HM4
import bend-osdev-hashes@0.1.0.0/md5.bend as HM5
import bend-osdev-hashes@0.1.0.0/sha1.bend as HS1
import bend-osdev-hashes@0.1.0.0/ripemd160.bend as HRM
import bend-osdev-hashes@0.1.0.0/sm3.bend as HSM
import bend-osdev-hashes@0.1.0.0/streebog.bend as HST
import bend-osdev-hashes@0.1.0.0/michael.bend as HMI
import ./inst_michael.bend as MIC
import ./pbkdf2.bend as Pb
import ./inst_pbkdf2.bend as PbI
import ./kbkdf.bend as Kb
import ./inst_kbkdf.bend as KbI
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/sha.bend as F256
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/sha512.bend as F512
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/sha3.bend as F202

Laws

law xor_involution openits proof in PROOF.bend does not pass the checker (timeout)source · line 82 · raw

@-S:Data -> @-next:(@_:S -> 0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrKsStep<S>) -> @+s:S -> @+m:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.out_data(S, 0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.update(S, next, s, 0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.out_data(S, 0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.update(S, next, s, m)))) == m : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

the cipher is its own inverse: from one state, applied twice, the data comes back

law xor_streaming_data openits proof in PROOF.bend does not pass the checker (timeout)source · line 91 · raw

@-S:Data -> @-next:(@_:S -> 0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrKsStep<S>) -> @+s:S -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.out_data(S, 0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.update(S, next, s, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b))) == 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.out_data(S, 0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.update(S, next, s, a)), 0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.out_data(S, 0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.update(S, next, 0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.out_state(S, 0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.update(S, next, s, a)), b))) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

data in pieces: the output of a ++ b is the output of a, then the output of b from the state after a

law xor_streaming_state openits proof in PROOF.bend does not pass the checker (timeout)source · line 99 · raw

@-S:Data -> @-next:(@_:S -> 0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrKsStep<S>) -> @+s:S -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.out_state(S, 0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.update(S, next, s, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b))) == 0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.out_state(S, 0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.update(S, next, 0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.out_state(S, 0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.update(S, next, s, a)), b)) : S}

law ctr_involution openits proof in PROOF.bend does not pass the checker (timeout)source · line 110 · raw

@-K:Data -> @-Blk:Data -> @-enc:(@_:K -> @_:Blk -> Blk) -> @-blk_of:(@_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> Maybe<&2, Blk>) -> @-blk_to:(@_:Blk -> 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets) -> @+s:0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCtrState<K> -> @+m:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.out_data(0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCtrState<K>, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCtr.update(K, Blk, enc, blk_of, blk_to, s, 0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.out_data(0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCtrState<K>, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCtr.update(K, Blk, enc, blk_of, blk_to, s, m)))) == m : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

law ctr_streaming_data openits proof in PROOF.bend does not pass the checker (timeout)source · line 120 · raw

@-K:Data -> @-Blk:Data -> @-enc:(@_:K -> @_:Blk -> Blk) -> @-blk_of:(@_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> Maybe<&2, Blk>) -> @-blk_to:(@_:Blk -> 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets) -> @+s:0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCtrState<K> -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.out_data(0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCtrState<K>, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCtr.update(K, Blk, enc, blk_of, blk_to, s, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b))) == 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.out_data(0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCtrState<K>, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCtr.update(K, Blk, enc, blk_of, blk_to, s, a)), 0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.out_data(0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCtrState<K>, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCtr.update(K, Blk, enc, blk_of, blk_to, 0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.out_state(0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCtrState<K>, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCtr.update(K, Blk, enc, blk_of, blk_to, s, a)), b))) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

law ctr_streaming_state openits proof in PROOF.bend does not pass the checker (timeout)source · line 131 · raw

@-K:Data -> @-Blk:Data -> @-enc:(@_:K -> @_:Blk -> Blk) -> @-blk_of:(@_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> Maybe<&2, Blk>) -> @-blk_to:(@_:Blk -> 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets) -> @+s:0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCtrState<K> -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.out_state(0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCtrState<K>, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCtr.update(K, Blk, enc, blk_of, blk_to, s, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b))) == 0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.out_state(0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCtrState<K>, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCtr.update(K, Blk, enc, blk_of, blk_to, 0x01313a4f070f7ffd2bd276fcd2143eda/stream.CrXor.out_state(0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCtrState<K>, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCtr.update(K, Blk, enc, blk_of, blk_to, s, a)), b)) : 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCtrState<K>}

law cmblock_format openits proof in PROOF.bend does not pass the checker (timeout)source · line 145 · raw

@+b:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> {0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.of_octets(0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.to_octets(b)) == Some{b} : Maybe<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock>}

law cmblock_xor openits proof in PROOF.bend does not pass the checker (timeout)source · line 149 · raw

@a:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> @b:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> {0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor(0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor(a, b), b) == a : 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock}

law lcblock64_format openits proof in PROOF.bend does not pass the checker (timeout)source · line 154 · raw

@+b:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> {0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64.of_octets(0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64.to_octets(b)) == Some{b} : Maybe<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64>}

law lcblock64_xor openits proof in PROOF.bend does not pass the checker (timeout)source · line 158 · raw

@a:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> @b:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> {0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor(0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor(a, b), b) == a : 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64}

law mac_verify_tag_accepts openits proof in PROOF.bend does not pass the checker (timeout)source · line 167 · raw

@-K:Data -> @-compute:(@_:K -> @_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets) -> @+k:K -> @+m:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/mac.CrMac.verify_tag(K, compute, k, m, compute(k, m)) == True{} : Bool}

law mac_verify_tag_agrees openits proof in PROOF.bend does not pass the checker (timeout)source · line 174 · raw

@-K:Data -> @-compute:(@_:K -> @_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets) -> @+k:K -> @+m:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @t:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/mac.CrMac.verify_tag(K, compute, k, m, t) == 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.is_eq(compute(k, m), t) : Bool}

law hmac_accepts openits proof in PROOF.bend does not pass the checker (timeout)source · line 182 · raw

@-digest:(@_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets) -> @+kk:0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacKey -> @+m:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.verify(digest, kk, m, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.mac(digest, kk, m)) == True{} : Bool}

law cmac_accepts openits proof in PROOF.bend does not pass the checker (timeout)source · line 188 · raw

@-K:Data -> @-enc:(@_:K -> @_:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock) -> @+k:K -> @+m:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/inst_cmac.CrCmac.verify(K, enc, k, m, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cmac.CrCmac.mac(K, enc, k, m)) == True{} : Bool}

law xcbc_accepts openits proof in PROOF.bend does not pass the checker (timeout)source · line 196 · raw

@-K:Data -> @-Blk:Data -> @-bsize:Nat -> @-enc:(@_:K -> @_:Blk -> Blk) -> @-blk_of:(@_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> Maybe<&2, Blk>) -> @-blk_to:(@_:Blk -> 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets) -> @+kk:0x01313a4f070f7ffd2bd276fcd2143eda/xcbc.CrXcbcKey<K> -> @+m:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/xcbc.CrXcbc.verify(K, Blk, bsize, enc, blk_of, blk_to, kk, m, 0x01313a4f070f7ffd2bd276fcd2143eda/xcbc.CrXcbc.mac(K, Blk, bsize, enc, blk_of, blk_to, kk, m)) == True{} : Bool}

XCBC-MAC over every block cipher (xcbc.bend) accepts what it computes

law vmac_accepts openits proof in PROOF.bend does not pass the checker (timeout)source · line 209 · raw

@-K:Data -> @-Blk:Data -> @-bsize:Nat -> @-enc:(@_:K -> @_:Blk -> Blk) -> @-blk_of:(@_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> Maybe<&2, Blk>) -> @-blk_to:(@_:Blk -> 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets) -> @-nlen:Nat -> @+kk:0x01313a4f070f7ffd2bd276fcd2143eda/vmac.CrVmacKey<K> -> @+m:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/vmac.CrVmac.verify(K, Blk, bsize, enc, blk_of, blk_to, nlen, kk, m, 0x01313a4f070f7ffd2bd276fcd2143eda/vmac.CrVmac.mac(K, Blk, bsize, enc, blk_of, blk_to, nlen, kk, m)) == True{} : Bool}

VMAC over every block cipher and nonce length (vmac.bend) accepts what it computes

law crc32_hash_streaming openits proof in PROOF.bend does not pass the checker (timeout)source · line 225 · raw

@-spec:0x7a77d751f1a239b5a366af461ab7f041/crc.Crc32Spec -> @c:U32 -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.update(spec, c, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.update(spec, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.update(spec, c, a), b) : U32}

law crc32_hash_split openits proof in PROOF.bend does not pass the checker (timeout)source · line 232 · raw

@-spec:0x7a77d751f1a239b5a366af461ab7f041/crc.Crc32Spec -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.final(spec, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.update(spec, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.update(spec, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.init(spec), a), b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.digest(spec, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

law crc64_hash_streaming openits proof in PROOF.bend does not pass the checker (timeout)source · line 238 · raw

@-spec:0x7a77d751f1a239b5a366af461ab7f041/crc.Crc64Spec -> @c:0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64 -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.update(spec, c, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.update(spec, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.update(spec, c, a), b) : 0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64}

law crc64_hash_split openits proof in PROOF.bend does not pass the checker (timeout)source · line 245 · raw

@-spec:0x7a77d751f1a239b5a366af461ab7f041/crc.Crc64Spec -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.final(spec, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.update(spec, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.update(spec, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.init(spec), a), b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.digest(spec, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

law lift_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 255 · raw

@-E:Data -> @-f:(@_:E -> 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError) -> @d:(@_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> Result<&2, &2, E, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets>) -> @r:Result<&2, &2, E, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets> -> @+p:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @h:{Result.bind(&2, &2, E, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, r, d) == Result.map(&2, &2, E, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, c => p, r) : Result<&2, &2, E, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets>} -> {Result.bind(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError.lift(E, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, f, r), c => 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError.lift(E, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, f, d(c))) == Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, c => p, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError.lift(E, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, f, r)) : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets>}

law ccm_round_trip_if openits proof in PROOF.bend does not pass the checker (timeout)source · line 270 · raw

@-K:Data -> @-enc:(@_:K -> @_:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock) -> @-tlen:Nat -> @+k:K -> @+nonce:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+aad:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+p:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @h:{Result.bind(&2, &2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, 0xf4b936e0e6b2608080d2f02bb3ce9abe/ccm.Ccm.encrypt(K, enc, k, tlen, nonce, aad, p), c => 0xf4b936e0e6b2608080d2f02bb3ce9abe/ccm.Ccm.decrypt(K, enc, k, tlen, nonce, aad, c)) == Result.map(&2, &2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, c => p, 0xf4b936e0e6b2608080d2f02bb3ce9abe/ccm.Ccm.encrypt(K, enc, k, tlen, nonce, aad, p)) : Result<&2, &2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets>} -> {Result.bind(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_ccm.CrCcm.seal(K, enc, tlen, k, nonce, aad, p), c => 0x01313a4f070f7ffd2bd276fcd2143eda/inst_ccm.CrCcm.open(K, enc, tlen, k, nonce, aad, c)) == Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, c => p, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_ccm.CrCcm.seal(K, enc, tlen, k, nonce, aad, p)) : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets>}

CCM as an AEAD (inst_ccm.bend), for every 128-bit block cipher, key, tag length, nonce, associated data and message: the AEAD round trip, given cipher-modes' ccm_round_trip at the same arguments (h). cipher-modes proves h for every input, but a proof that imports its PROOF.bend fails --verdict (its laws with a template hypothesis), so the two are joined in README.md, not here.

law sign_verify_bytes_if openits proof in PROOF.bend does not pass the checker (timeout)source · line 287 · raw

@-SK:Data -> @-PK:Data -> @-public:(@_:SK -> PK) -> @-pk_of:(@_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, PK>) -> @-pk_to:(@_:PK -> 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets) -> @-sign:(@_:SK -> @_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets) -> @-verify:(@_:PK -> @_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> Bool) -> @+sk:SK -> @+m:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @hf:{pk_of(pk_to(public(sk))) == Done{public(sk)} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, PK>} -> @ha:{verify(public(sk), m, sign(sk, m)) == True{} : Bool} -> {0x01313a4f070f7ffd2bd276fcd2143eda/sign.CrSign.verify_bytes(PK, pk_of, verify, pk_to(public(sk)), m, sign(sk, m)) == True{} : Bool}

Signatures and key agreement (sign.bend, kex.bend): the generic helpers keep the interface laws (README.md); the instances (RSA, DH, ECDSA, ECDH, SM2, EC-RDSA) and their laws are in bend-osdev-pubkey. A signature checked from the public key's bytes is accepted, for every scheme, secret key and message, when the scheme's pk_format and accepts laws hold there (hf, ha)

law kex_agree_if openits proof in PROOF.bend does not pass the checker (timeout)source · line 304 · raw

@-SK:Data -> @-PK:Data -> @-secret:(@_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, SK>) -> @-public:(@_:SK -> PK) -> @-pk_of:(@_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, PK>) -> @-pk_to:(@_:PK -> 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets) -> @-shared:(@_:SK -> @_:PK -> Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets>) -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+x:SK -> @+y:SK -> @hx:{secret(a) == Done{x} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, SK>} -> @hy:{secret(b) == Done{y} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, SK>} -> @hfx:{pk_of(pk_to(public(x))) == Done{public(x)} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, PK>} -> @hfy:{pk_of(pk_to(public(y))) == Done{public(y)} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, PK>} -> @h:{shared(x, public(y)) == shared(y, public(x)) : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets>} -> {0x01313a4f070f7ffd2bd276fcd2143eda/kex.CrKex.agree(SK, PK, secret, pk_of, shared, a, pk_to(public(y))) == 0x01313a4f070f7ffd2bd276fcd2143eda/kex.CrKex.agree(SK, PK, secret, pk_of, shared, b, pk_to(public(x))) : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets>}

two parties agree from each other's public-key bytes, for every scheme and pair of secret keys, when the keys parse (hx, hy), the public keys survive their bytes (hfx, hfy) and the scheme's agree law holds for them (h)

law crc32_hash_check openits proof in PROOF.bend does not pass the checker (timeout)source · line 326 · raw

{0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.digest(0x7a77d751f1a239b5a366af461ab7f041/crc.crc32.spec, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_string("123456789")) == 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_list([203, 244, 57, 38]) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

law crc32c_hash_check openits proof in PROOF.bend does not pass the checker (timeout)source · line 329 · raw

{0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.digest(0x7a77d751f1a239b5a366af461ab7f041/crc.crc32c.spec, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_string("123456789")) == 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_list([227, 6, 146, 131]) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

law crc64_xz_hash_check openits proof in PROOF.bend does not pass the checker (timeout)source · line 332 · raw

{0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.digest(0x7a77d751f1a239b5a366af461ab7f041/crc.crc64_xz.spec, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_string("123456789")) == 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_list([153, 93, 201, 187, 223, 25, 57, 250]) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

law crc32_hash_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 336 · raw

@-spec:0x7a77d751f1a239b5a366af461ab7f041/crc.Crc32Spec -> @c:U32 -> {0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.len(0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.final(spec, c)) == 4n : Nat}

a CRC-32 digest is 4 bytes, for every parameter set and register

law hmac_crc32_vector openits proof in PROOF.bend does not pass the checker (timeout)source · line 344 · raw

{0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.mac(0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.digest(0x7a77d751f1a239b5a366af461ab7f041/crc.crc32.spec), 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.key(64n, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.digest(0x7a77d751f1a239b5a366af461ab7f041/crc.crc32.spec), 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_string("key")), 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_string("The quick brown fox")) == 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_list([69, 52, 205, 87]) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

HMAC over CRC-32 (the key "key", the message "The quick brown fox"): the value of Python's hmac module over binascii.crc32 (ref/gen.py checks the same construction on random keys and messages)

law rc4_empty_key openits proof in PROOF.bend does not pass the checker (timeout)source · line 350 · raw

{Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x7d16ec09f99b830428c8e2852af315f6/rc4.LcRc4State, Unit, s => Unit{}, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_rc4.CrRc4.start(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.empty, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.empty)) == Fail{0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrBadKeyLength{0n}} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Unit>}

refusals: an RC4 key of 0 bytes, an IV given to RC4, a CTR counter block of the wrong length, bytes that are not whole blocks, and an HKDF output longer than 255 digests

law rc4_iv_refused openits proof in PROOF.bend does not pass the checker (timeout)source · line 353 · raw

{Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x7d16ec09f99b830428c8e2852af315f6/rc4.LcRc4State, Unit, s => Unit{}, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_rc4.CrRc4.start(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.empty, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.zeros(1n))) == Fail{0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrBadIvLength{1n}} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Unit>}

law ctr_bad_iv openits proof in PROOF.bend does not pass the checker (timeout)source · line 356 · raw

{Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCtrState<0x7d16ec09f99b830428c8e2852af315f6/des.LcDesKey>, Unit, s => Unit{}, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCtr.start(0x7d16ec09f99b830428c8e2852af315f6/des.LcDesKey, 8n, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrLc.key(0x7d16ec09f99b830428c8e2852af315f6/des.LcDesKey, 0x7d16ec09f99b830428c8e2852af315f6/des.LcDes.key), 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.zeros(8n), 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.zeros(7n))) == Fail{0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrBadIvLength{7n}} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Unit>}

law blocks_of_not_whole openits proof in PROOF.bend does not pass the checker (timeout)source · line 359 · raw

{Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64>, Unit, bs => Unit{}, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrModes.blocks_of(0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 8n, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64.of_octets, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.zeros(12n))) == Fail{0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrNotBlockMultiple{12n}} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Unit>}

law hkdf_too_long openits proof in PROOF.bend does not pass the checker (timeout)source · line 362 · raw

{Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, Unit, o => Unit{}, 0x01313a4f070f7ffd2bd276fcd2143eda/hkdf.CrHkdf.derive(64n, 4n, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.digest(0x7a77d751f1a239b5a366af461ab7f041/crc.crc32.spec), 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_string("ikm"), 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.empty, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.empty, 1021n)) == Fail{0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrBadOutputLength{1021n}} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Unit>}

law aes_fips197_c1 openits proof in PROOF.bend does not pass the checker (timeout)source · line 369 · raw

{0x01313a4f070f7ffd2bd276fcd2143eda/block.CrBlockCipher.encrypt_with(0xf4b936e0e6b2608080d2f02bb3ce9abe/aes.CmAesKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_aes.CrAes.key_enc, 0xf4b936e0e6b2608080d2f02bb3ce9abe/aes.CmAes.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.of_octets, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.to_octets, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_list([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]), 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_list([0, 17, 34, 51, 68, 85, 102, 119, 136, 153, 170, 187, 204, 221, 238, 255])) == Done{0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_list([105, 196, 224, 216, 106, 123, 4, 48, 216, 205, 183, 128, 112, 180, 197, 90])} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets>}

FIPS 197 Appendix C.1 through the block-cipher interface: AES-128, its encryption key schedule then one block of bytes (with CrAes.key, which computes the decryption round keys too, the vector checks but runs past --verdict's kernel; check.bend runs it both ways)

law crc32_hash_split3 openits proof in PROOF.bend does not pass the checker (timeout)source · line 374 · raw

@-spec:0x7a77d751f1a239b5a366af461ab7f041/crc.Crc32Spec -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+c:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.final(spec, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.update(spec, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.update(spec, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.update(spec, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.init(spec), a), b), c)) == 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.digest(spec, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(b, c))) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

law crc64_hash_split3 openits proof in PROOF.bend does not pass the checker (timeout)source · line 381 · raw

@-spec:0x7a77d751f1a239b5a366af461ab7f041/crc.Crc64Spec -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+c:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.final(spec, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.update(spec, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.update(spec, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.update(spec, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.init(spec), a), b), c)) == 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.digest(spec, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(b, c))) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

law sha256_spec openits proof in PROOF.bend does not pass the checker (timeout)source · line 396 · raw

@+o:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.sha256(o) == 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_list(0xa7e654f9780078ca65bf9e187da99d3e/spec/crypto/sha.sha256_bytes(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.to_list(o))) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

law sha256_hash_split openits proof in PROOF.bend does not pass the checker (timeout)source · line 400 · raw

@+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.final(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.update(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.update(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.init256, a), b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.sha256(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

law sha256_hash_split3 openits proof in PROOF.bend does not pass the checker (timeout)source · line 405 · raw

@+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+c:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.final(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.update(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.update(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.update(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.init256, a), b), c)) == 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.sha256(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(b, c))) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

law sha256_hash_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 411 · raw

@+o:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.len(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.sha256(o)) == 32n : Nat}

law sha512_spec openits proof in PROOF.bend does not pass the checker (timeout)source · line 415 · raw

@+o:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.sha512(o) == 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_list(0xa7e654f9780078ca65bf9e187da99d3e/spec/crypto/sha512.sha512_bytes(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.to_list(o))) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

law sha512_hash_split openits proof in PROOF.bend does not pass the checker (timeout)source · line 419 · raw

@+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.final(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.update(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.update(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.init512, a), b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.sha512(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

law sha512_hash_split3 openits proof in PROOF.bend does not pass the checker (timeout)source · line 424 · raw

@+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+c:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.final(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.update(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.update(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.update(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.init512, a), b), c)) == 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.sha512(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(b, c))) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

law sha512_hash_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 430 · raw

@+o:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.len(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.sha512(o)) == 64n : Nat}

law sha3_256_spec openits proof in PROOF.bend does not pass the checker (timeout)source · line 441 · raw

@+o:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3.sha3_256(o) == 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_list(0xa7e654f9780078ca65bf9e187da99d3e/spec/crypto/sha3.sha3_256(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.to_list(o))) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

law sha3_256_hash_split openits proof in PROOF.bend does not pass the checker (timeout)source · line 445 · raw

@+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3.final(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3.update(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3.update(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3.init, a), b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3.sha3_256(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

law sha3_256_hash_split3 openits proof in PROOF.bend does not pass the checker (timeout)source · line 450 · raw

@+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+c:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3.final(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3.update(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3.update(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3.update(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3.init, a), b), c)) == 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3.sha3_256(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(b, c))) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

law sha3_256_hash_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 456 · raw

@+o:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.len(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3.sha3_256(o)) == 32n : Nat}

law hkdf_sha256_too_long openits proof in PROOF.bend does not pass the checker (timeout)source · line 461 · raw

{Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, Unit, o => Unit{}, 0x01313a4f070f7ffd2bd276fcd2143eda/hkdf.CrHkdf.derive(64n, 32n, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.sha256, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_string("ikm"), 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.empty, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.empty, 8161n)) == Fail{0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrBadOutputLength{8161n}} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Unit>}

HKDF over SHA-256 refuses more than 255 digests (8160 bytes)

law sha256_abc openits proof in PROOF.bend does not pass the checker (timeout)source · line 466 · raw

{0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.sha256(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_string("abc")) == 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_list([186, 120, 22, 191, 143, 1, 207, 234, 65, 65, 64, 222, 93, 174, 34, 35, 176, 3, 97, 163, 150, 23, 122, 156, 180, 16, 255, 97, 242, 0, 21, 173]) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

FIPS 180-4's example "abc" (NIST's SHA examples), through the hash interface

law sha3_256_abc openits proof in PROOF.bend does not pass the checker (timeout)source · line 471 · raw

{0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3.sha3_256(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_string("abc")) == 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_list([58, 152, 93, 167, 79, 226, 37, 178, 4, 92, 23, 45, 107, 211, 144, 189, 133, 95, 8, 110, 62, 157, 82, 91, 70, 191, 226, 69, 17, 67, 21, 50]) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

FIPS 202's SHA3-256 of "abc" (NIST's SHA-3 examples), through the hash interface

law hmac_sha256_rfc4231_2 openits proof in PROOF.bend does not pass the checker (timeout)source · line 475 · raw

{0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.mac(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.sha256, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.key(64n, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.sha256, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_string("Jefe")), 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_string("what do ya want for nothing?")) == 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_list([91, 220, 193, 70, 191, 96, 117, 78, 106, 4, 36, 38, 8, 149, 117, 199, 90, 0, 63, 8, 157, 39, 57, 131, 157, 236, 88, 185, 100, 236, 56, 67]) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

RFC 4231 test case 2: HMAC-SHA-256 with the key "Jefe"

law michael_accepts openits proof in PROOF.bend does not pass the checker (timeout)source · line 483 · raw

@+k:0xd04c3185dce130521497bf85ab03f249/hashes.HsW2 -> @+m:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/inst_michael.CrMichael.verify(k, m, 0xd04c3185dce130521497bf85ab03f249/michael.HsMichael.mic(k, m)) == True{} : Bool}

Michael as a MAC (inst_michael.bend): it accepts what it computes, for every key and message (it uses the named default verify); a key of another length than 8 bytes is refused; the sixth test vector recalled as IEEE 802.11i's, through the MAC interface (not checked against a published copy: hashes/README.md)

law michael_key_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 488 · raw

{Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0xd04c3185dce130521497bf85ab03f249/hashes.HsW2, Unit, k => Unit{}, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_michael.CrMichael.key(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.zeros(16n))) == Fail{0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrBadKeyLength{16n}} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Unit>}

law michael_mac_vector openits proof in PROOF.bend does not pass the checker (timeout)source · line 491 · raw

{0x01313a4f070f7ffd2bd276fcd2143eda/mac.CrMac.compute_with(0xd04c3185dce130521497bf85ab03f249/hashes.HsW2, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_michael.CrMichael.key, 0xd04c3185dce130521497bf85ab03f249/michael.HsMichael.mic, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_list([213, 94, 16, 5, 16, 18, 137, 134]), 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_string("Michael")) == Done{0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_list([10, 148, 43, 18, 78, 202, 165, 70])} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets>}

law pbkdf2_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 499 · raw

@-K:Data -> @-key:(@_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, K>) -> @-compute:(@_:K -> @_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets) -> @-hlen:Nat -> @+p:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+salt:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+c:U32 -> @+n:Nat -> {Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, Nat, o => 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.len(o), 0x01313a4f070f7ffd2bd276fcd2143eda/pbkdf2.CrPbkdf2.pbkdf2(K, key, compute, hlen, p, salt, c, n)) == Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, Nat, o => n, 0x01313a4f070f7ffd2bd276fcd2143eda/pbkdf2.CrPbkdf2.pbkdf2(K, key, compute, hlen, p, salt, c, n)) : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Nat>}

PBKDF2 over any MAC (pbkdf2.bend), for every MAC, password, salt, iteration count and length: a derivation that succeeds gives exactly the length asked for (the KDF interface's length law); the unchecked stream has that length, and a shorter stream is a prefix of a longer (the KDF interface's prefix law)

law pbkdf2_stream_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 510 · raw

@-K:Data -> @-compute:(@_:K -> @_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets) -> @+k:K -> @+salt:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+c:U32 -> @+n:Nat -> {0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.len(0x01313a4f070f7ffd2bd276fcd2143eda/pbkdf2.CrPbkdf2.stream(K, compute, k, salt, c, n)) == n : Nat}

law pbkdf2_stream_prefix openits proof in PROOF.bend does not pass the checker (timeout)source · line 519 · raw

@-K:Data -> @-compute:(@_:K -> @_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets) -> @+k:K -> @+salt:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+c:U32 -> @+n:Nat -> @+j:Nat -> {0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.take(n, 0x01313a4f070f7ffd2bd276fcd2143eda/pbkdf2.CrPbkdf2.stream(K, compute, k, salt, c, Nat.add(n, j))) == 0x01313a4f070f7ffd2bd276fcd2143eda/pbkdf2.CrPbkdf2.stream(K, compute, k, salt, c, n) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

law pbkdf2_zero_iterations openits proof in PROOF.bend does not pass the checker (timeout)source · line 530 · raw

{Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, Unit, o => Unit{}, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_pbkdf2.CrPbkdf2.hmac_sha1(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_string("password"), 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_string("salt"), 0, 20n)) == Fail{0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrTooShort{0n}} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Unit>}

PBKDF2 refuses an iteration count of 0 (over HMAC-SHA-1)

law pbkdf2_hmac_sha1_rfc6070_1 openits proof in PROOF.bend does not pass the checker (timeout)source · line 535 · raw

{0x01313a4f070f7ffd2bd276fcd2143eda/inst_pbkdf2.CrPbkdf2.hmac_sha1(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_string("password"), 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_string("salt"), 1, 20n) == Done{0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_list([12, 96, 200, 15, 150, 31, 14, 113, 243, 169, 181, 36, 175, 96, 18, 6, 47, 224, 55, 166])} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets>}

RFC 6070 test cases 1 and 2: PBKDF2-HMAC-SHA1, P = "password", S = "salt", c = 1 and 2, dkLen = 20

law pbkdf2_hmac_sha1_rfc6070_2 openits proof in PROOF.bend does not pass the checker (timeout)source · line 538 · raw

{0x01313a4f070f7ffd2bd276fcd2143eda/inst_pbkdf2.CrPbkdf2.hmac_sha1(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_string("password"), 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_string("salt"), 2, 20n) == Done{0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_list([234, 108, 1, 77, 199, 45, 111, 140, 205, 30, 217, 42, 206, 29, 65, 240, 216, 222, 137, 87])} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets>}

law pbkdf2_hmac_sha256_rfc7914_1 openits proof in PROOF.bend does not pass the checker (timeout)source · line 545 · raw

{0x01313a4f070f7ffd2bd276fcd2143eda/inst_pbkdf2.CrPbkdf2.hmac_sha256(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_string("passwd"), 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_string("salt"), 1, 32n) == Done{0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_list([85, 172, 4, 110, 86, 227, 8, 159, 236, 22, 145, 194, 37, 68, 182, 5, 249, 65, 133, 33, 109, 222, 4, 101, 230, 139, 157, 87, 194, 13, 172, 188])} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets>}

RFC 7914, section 11: PBKDF2-HMAC-SHA256, P = "passwd", S = "salt", c = 1: the first 32 of its 64 bytes (a shorter output is a prefix of a longer, pbkdf2_stream_prefix; all 64 bytes, two blocks, run past --verdict's kernel fuel, and check.bend computes them)

law kbkdf_counter_stream_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 554 · raw

@-K:Data -> @-compute:(@_:K -> @_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets) -> @-rlen:Nat -> @+k:K -> @+fixed:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+n:Nat -> {0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.len(0x01313a4f070f7ffd2bd276fcd2143eda/kbkdf.CrKbkdf.counter_stream(K, compute, rlen, k, fixed, n)) == n : Nat}

SP 800-108 KDFs over any MAC (kbkdf.bend), for every MAC, key, fixed input data and length: each stream has the length asked for, a shorter stream is a prefix of a longer one with the same fixed input (and IV), and a derivation that succeeds has the length asked for. (The interface's prefix law holds of the streams: a derivation binds its length L into the fixed input, so derivations of two lengths differ.)

law kbkdf_counter_stream_prefix openits proof in PROOF.bend does not pass the checker (timeout)source · line 563 · raw

@-K:Data -> @-compute:(@_:K -> @_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets) -> @-rlen:Nat -> @+k:K -> @+fixed:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+n:Nat -> @+j:Nat -> {0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.take(n, 0x01313a4f070f7ffd2bd276fcd2143eda/kbkdf.CrKbkdf.counter_stream(K, compute, rlen, k, fixed, Nat.add(n, j))) == 0x01313a4f070f7ffd2bd276fcd2143eda/kbkdf.CrKbkdf.counter_stream(K, compute, rlen, k, fixed, n) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

law kbkdf_feedback_stream_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 573 · raw

@-K:Data -> @-compute:(@_:K -> @_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets) -> @-rlen:Nat -> @+k:K -> @+iv:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+fixed:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+n:Nat -> {0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.len(0x01313a4f070f7ffd2bd276fcd2143eda/kbkdf.CrKbkdf.feedback_stream(K, compute, rlen, k, iv, fixed, n)) == n : Nat}

law kbkdf_feedback_stream_prefix openits proof in PROOF.bend does not pass the checker (timeout)source · line 583 · raw

@-K:Data -> @-compute:(@_:K -> @_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets) -> @-rlen:Nat -> @+k:K -> @+iv:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+fixed:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+n:Nat -> @+j:Nat -> {0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.take(n, 0x01313a4f070f7ffd2bd276fcd2143eda/kbkdf.CrKbkdf.feedback_stream(K, compute, rlen, k, iv, fixed, Nat.add(n, j))) == 0x01313a4f070f7ffd2bd276fcd2143eda/kbkdf.CrKbkdf.feedback_stream(K, compute, rlen, k, iv, fixed, n) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

law kbkdf_counter_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 594 · raw

@-K:Data -> @-key:(@_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, K>) -> @-compute:(@_:K -> @_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets) -> @-hlen:Nat -> @-rlen:Nat -> @-llen:Nat -> @+ki:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+label:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+context:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+n:Nat -> {Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, Nat, o => 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.len(o), 0x01313a4f070f7ffd2bd276fcd2143eda/kbkdf.CrKbkdf.counter_kdf(K, key, compute, hlen, rlen, llen, ki, label, context, n)) == Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, Nat, o => n, 0x01313a4f070f7ffd2bd276fcd2143eda/kbkdf.CrKbkdf.counter_kdf(K, key, compute, hlen, rlen, llen, ki, label, context, n)) : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Nat>}

law kbkdf_feedback_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 607 · raw

@-K:Data -> @-key:(@_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, K>) -> @-compute:(@_:K -> @_:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets) -> @-hlen:Nat -> @-rlen:Nat -> @-llen:Nat -> @+ki:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+iv:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+label:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+context:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+n:Nat -> {Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, Nat, o => 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.len(o), 0x01313a4f070f7ffd2bd276fcd2143eda/kbkdf.CrKbkdf.feedback_kdf(K, key, compute, hlen, rlen, llen, ki, iv, label, context, n)) == Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets, Nat, o => n, 0x01313a4f070f7ffd2bd276fcd2143eda/kbkdf.CrKbkdf.feedback_kdf(K, key, compute, hlen, rlen, llen, ki, iv, label, context, n)) : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Nat>}

law kbkdf_hmac_sha256_vector openits proof in PROOF.bend does not pass the checker (timeout)source · line 627 · raw

{0x01313a4f070f7ffd2bd276fcd2143eda/kbkdf.CrKbkdf.counter_stream(0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacKey, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.mac(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.sha256), 4n, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.key(64n, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.sha256, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_string("secret key bytes")), 0x01313a4f070f7ffd2bd276fcd2143eda/kbkdf.CrKbkdf.fixed(4n, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_string("label"), 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_string("context"), 32n), 32n) == 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.of_list([36, 187, 186, 187, 150, 131, 248, 143, 109, 68, 1, 79, 191, 147, 235, 99, 232, 125, 99, 110, 60, 243, 238, 232, 217, 114, 189, 30, 217, 156, 9, 202]) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

KBKDF in counter mode over HMAC-SHA-256 (32-bit counter and [L]_2), the key "secret key bytes", Label "label", Context "context", 32 bytes: Python's cryptography's KBKDFHMAC gives this value. Stated on the stream (what CrKbkdf.counter_kdf returns once its length checks pass): those checks compare with 2^32, which --verdict's kernel cannot compute in time; check.bend runs the checked derivation

law des_block_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 634 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/des.LcDesKey -> @+b:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> {0x7d16ec09f99b830428c8e2852af315f6/des.LcDes.decrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/des.LcDes.encrypt(k, b)) == b : 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64}

BEGIN GENERATED by gen/instances.py: laws DES (legacy-ciphers): decryption undoes encryption, for every key and block

law des_block_round_trip_dual openits proof in PROOF.bend does not pass the checker (timeout)source · line 640 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/des.LcDesKey -> @+b:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> {0x7d16ec09f99b830428c8e2852af315f6/des.LcDes.encrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/des.LcDes.decrypt(k, b)) == b : 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64}

DES (legacy-ciphers): encryption undoes decryption (a permutation of the blocks)

law des_key_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 646 · raw

{Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x7d16ec09f99b830428c8e2852af315f6/des.LcDesKey, Unit, k => Unit{}, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrLc.key(0x7d16ec09f99b830428c8e2852af315f6/des.LcDesKey, 0x7d16ec09f99b830428c8e2852af315f6/des.LcDes.key, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.zeros(7n))) == Fail{0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrBadKeyLength{7n}} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Unit>}

DES (legacy-ciphers): a key of 7 bytes is refused

law des_ecb_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 650 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/des.LcDesKey -> @+bs:List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/des.LcDesKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/des.LcDes.decrypt, k, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/des.LcDesKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/des.LcDes.encrypt, k, bs)) == bs : List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64>}

DES (legacy-ciphers) in ECB (modes.bend): decryption undoes encryption, for every key and list of blocks

law des_cbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 656 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/des.LcDesKey -> @+iv:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> @+bs:List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/des.LcDesKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/des.LcDes.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/des.LcDesKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/des.LcDes.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, bs)) == bs : List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64>}

DES (legacy-ciphers) in CBC (modes.bend): decryption undoes encryption, for every key, IV and list of blocks

law des_pcbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 663 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/des.LcDesKey -> @+iv:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> @+bs:List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64> -> {0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/des.LcDesKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/des.LcDes.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/des.LcDesKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/des.LcDes.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, bs)) == bs : List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64>}

DES (legacy-ciphers) in PCBC (pcbc.bend): decryption undoes encryption, for every key, IV and list of blocks

law tdes_block_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 670 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/tdes.LcTdesKey -> @+b:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> {0x7d16ec09f99b830428c8e2852af315f6/tdes.LcTdes.decrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/tdes.LcTdes.encrypt(k, b)) == b : 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64}

Triple DES (legacy-ciphers): decryption undoes encryption, for every key and block

law tdes_block_round_trip_dual openits proof in PROOF.bend does not pass the checker (timeout)source · line 676 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/tdes.LcTdesKey -> @+b:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> {0x7d16ec09f99b830428c8e2852af315f6/tdes.LcTdes.encrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/tdes.LcTdes.decrypt(k, b)) == b : 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64}

Triple DES (legacy-ciphers): encryption undoes decryption (a permutation of the blocks)

law tdes_key_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 682 · raw

{Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x7d16ec09f99b830428c8e2852af315f6/tdes.LcTdesKey, Unit, k => Unit{}, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrLc.key(0x7d16ec09f99b830428c8e2852af315f6/tdes.LcTdesKey, 0x7d16ec09f99b830428c8e2852af315f6/tdes.LcTdes.key, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.zeros(8n))) == Fail{0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrBadKeyLength{8n}} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Unit>}

Triple DES (legacy-ciphers): a key of 8 bytes is refused

law tdes_ecb_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 686 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/tdes.LcTdesKey -> @+bs:List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/tdes.LcTdesKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/tdes.LcTdes.decrypt, k, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/tdes.LcTdesKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/tdes.LcTdes.encrypt, k, bs)) == bs : List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64>}

Triple DES (legacy-ciphers) in ECB (modes.bend): decryption undoes encryption, for every key and list of blocks

law tdes_cbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 692 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/tdes.LcTdesKey -> @+iv:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> @+bs:List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/tdes.LcTdesKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/tdes.LcTdes.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/tdes.LcTdesKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/tdes.LcTdes.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, bs)) == bs : List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64>}

Triple DES (legacy-ciphers) in CBC (modes.bend): decryption undoes encryption, for every key, IV and list of blocks

law tdes_pcbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 699 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/tdes.LcTdesKey -> @+iv:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> @+bs:List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64> -> {0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/tdes.LcTdesKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/tdes.LcTdes.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/tdes.LcTdesKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/tdes.LcTdes.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, bs)) == bs : List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64>}

Triple DES (legacy-ciphers) in PCBC (pcbc.bend): decryption undoes encryption, for every key, IV and list of blocks

law sm4_block_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 706 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4Key -> @+b:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> {0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4.decrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4.encrypt(k, b)) == b : 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock}

SM4 (legacy-ciphers): decryption undoes encryption, for every key and block

law sm4_block_round_trip_dual openits proof in PROOF.bend does not pass the checker (timeout)source · line 712 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4Key -> @+b:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> {0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4.encrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4.decrypt(k, b)) == b : 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock}

SM4 (legacy-ciphers): encryption undoes decryption (a permutation of the blocks)

law sm4_key_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 718 · raw

{Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4Key, Unit, k => Unit{}, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrLc.key(0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4Key, 0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4.key, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.zeros(15n))) == Fail{0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrBadKeyLength{15n}} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Unit>}

SM4 (legacy-ciphers): a key of 15 bytes is refused

law sm4_ecb_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 722 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4Key -> @+bs:List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4Key, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4.decrypt, k, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4Key, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4.encrypt, k, bs)) == bs : List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock>}

SM4 (legacy-ciphers) in ECB (modes.bend): decryption undoes encryption, for every key and list of blocks

law sm4_cbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 728 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4Key -> @+iv:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> @+bs:List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4Key, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4Key, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, k, iv, bs)) == bs : List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock>}

SM4 (legacy-ciphers) in CBC (modes.bend): decryption undoes encryption, for every key, IV and list of blocks

law sm4_pcbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 735 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4Key -> @+iv:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> @+bs:List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock> -> {0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4Key, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4Key, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, k, iv, bs)) == bs : List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock>}

SM4 (legacy-ciphers) in PCBC (pcbc.bend): decryption undoes encryption, for every key, IV and list of blocks

law sm4_lrw_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 742 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4Key -> @+k2:0xeaa58f996c50eb57673f63c368c1de92/gf128.Gf128 -> @+i:0xeaa58f996c50eb57673f63c368c1de92/gf128.Gf128 -> @+bs:List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock> -> {0x01313a4f070f7ffd2bd276fcd2143eda/lrw.CrLrw.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4Key, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.of_octets, k, k2, i, 0x01313a4f070f7ffd2bd276fcd2143eda/lrw.CrLrw.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4Key, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/sm4.LcSm4.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.of_octets, k, k2, i, bs)) == bs : List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock>}

SM4 (legacy-ciphers) in LRW (lrw.bend): decryption undoes encryption, for every key, tweak key, index and list of blocks

law camellia_block_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 750 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamelliaKey -> @+b:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> {0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamellia.decrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamellia.encrypt(k, b)) == b : 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock}

Camellia (legacy-ciphers): decryption undoes encryption, for every key and block

law camellia_block_round_trip_dual openits proof in PROOF.bend does not pass the checker (timeout)source · line 756 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamelliaKey -> @+b:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> {0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamellia.encrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamellia.decrypt(k, b)) == b : 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock}

Camellia (legacy-ciphers): encryption undoes decryption (a permutation of the blocks)

law camellia_key_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 762 · raw

{Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamelliaKey, Unit, k => Unit{}, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrLc.key(0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamelliaKey, 0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamellia.key, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.zeros(20n))) == Fail{0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrBadKeyLength{20n}} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Unit>}

Camellia (legacy-ciphers): a key of 20 bytes is refused

law camellia_ecb_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 766 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamelliaKey -> @+bs:List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamelliaKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamellia.decrypt, k, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamelliaKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamellia.encrypt, k, bs)) == bs : List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock>}

Camellia (legacy-ciphers) in ECB (modes.bend): decryption undoes encryption, for every key and list of blocks

law camellia_cbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 772 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamelliaKey -> @+iv:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> @+bs:List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamelliaKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamellia.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamelliaKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamellia.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, k, iv, bs)) == bs : List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock>}

Camellia (legacy-ciphers) in CBC (modes.bend): decryption undoes encryption, for every key, IV and list of blocks

law camellia_pcbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 779 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamelliaKey -> @+iv:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> @+bs:List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock> -> {0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamelliaKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamellia.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamelliaKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamellia.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, k, iv, bs)) == bs : List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock>}

Camellia (legacy-ciphers) in PCBC (pcbc.bend): decryption undoes encryption, for every key, IV and list of blocks

law camellia_lrw_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 786 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamelliaKey -> @+k2:0xeaa58f996c50eb57673f63c368c1de92/gf128.Gf128 -> @+i:0xeaa58f996c50eb57673f63c368c1de92/gf128.Gf128 -> @+bs:List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock> -> {0x01313a4f070f7ffd2bd276fcd2143eda/lrw.CrLrw.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamelliaKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamellia.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.of_octets, k, k2, i, 0x01313a4f070f7ffd2bd276fcd2143eda/lrw.CrLrw.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamelliaKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/camellia.LcCamellia.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.of_octets, k, k2, i, bs)) == bs : List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock>}

Camellia (legacy-ciphers) in LRW (lrw.bend): decryption undoes encryption, for every key, tweak key, index and list of blocks

law serpent_block_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 794 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpentKey -> @+b:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> {0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpent.decrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpent.encrypt(k, b)) == b : 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock}

Serpent (legacy-ciphers): decryption undoes encryption, for every key and block

law serpent_block_round_trip_dual openits proof in PROOF.bend does not pass the checker (timeout)source · line 800 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpentKey -> @+b:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> {0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpent.encrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpent.decrypt(k, b)) == b : 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock}

Serpent (legacy-ciphers): encryption undoes decryption (a permutation of the blocks)

law serpent_key_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 806 · raw

{Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpentKey, Unit, k => Unit{}, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrLc.key(0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpentKey, 0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpent.key, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.zeros(33n))) == Fail{0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrBadKeyLength{33n}} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Unit>}

Serpent (legacy-ciphers): a key of 33 bytes is refused

law serpent_ecb_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 810 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpentKey -> @+bs:List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpentKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpent.decrypt, k, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpentKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpent.encrypt, k, bs)) == bs : List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock>}

Serpent (legacy-ciphers) in ECB (modes.bend): decryption undoes encryption, for every key and list of blocks

law serpent_cbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 816 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpentKey -> @+iv:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> @+bs:List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpentKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpent.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpentKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpent.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, k, iv, bs)) == bs : List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock>}

Serpent (legacy-ciphers) in CBC (modes.bend): decryption undoes encryption, for every key, IV and list of blocks

law serpent_pcbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 823 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpentKey -> @+iv:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> @+bs:List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock> -> {0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpentKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpent.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpentKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpent.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, k, iv, bs)) == bs : List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock>}

Serpent (legacy-ciphers) in PCBC (pcbc.bend): decryption undoes encryption, for every key, IV and list of blocks

law serpent_lrw_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 830 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpentKey -> @+k2:0xeaa58f996c50eb57673f63c368c1de92/gf128.Gf128 -> @+i:0xeaa58f996c50eb57673f63c368c1de92/gf128.Gf128 -> @+bs:List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock> -> {0x01313a4f070f7ffd2bd276fcd2143eda/lrw.CrLrw.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpentKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpent.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.of_octets, k, k2, i, 0x01313a4f070f7ffd2bd276fcd2143eda/lrw.CrLrw.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpentKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/serpent.LcSerpent.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.of_octets, k, k2, i, bs)) == bs : List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock>}

Serpent (legacy-ciphers) in LRW (lrw.bend): decryption undoes encryption, for every key, tweak key, index and list of blocks

law twofish_block_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 838 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofishKey -> @+b:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> {0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofish.decrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofish.encrypt(k, b)) == b : 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock}

Twofish (legacy-ciphers): decryption undoes encryption, for every key and block

law twofish_block_round_trip_dual openits proof in PROOF.bend does not pass the checker (timeout)source · line 844 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofishKey -> @+b:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> {0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofish.encrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofish.decrypt(k, b)) == b : 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock}

Twofish (legacy-ciphers): encryption undoes decryption (a permutation of the blocks)

law twofish_key_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 850 · raw

{Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofishKey, Unit, k => Unit{}, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrLc.key(0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofishKey, 0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofish.key, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.zeros(20n))) == Fail{0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrBadKeyLength{20n}} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Unit>}

Twofish (legacy-ciphers): a key of 20 bytes is refused

law twofish_ecb_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 854 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofishKey -> @+bs:List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofishKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofish.decrypt, k, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofishKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofish.encrypt, k, bs)) == bs : List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock>}

Twofish (legacy-ciphers) in ECB (modes.bend): decryption undoes encryption, for every key and list of blocks

law twofish_cbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 860 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofishKey -> @+iv:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> @+bs:List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofishKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofish.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofishKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofish.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, k, iv, bs)) == bs : List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock>}

Twofish (legacy-ciphers) in CBC (modes.bend): decryption undoes encryption, for every key, IV and list of blocks

law twofish_pcbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 867 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofishKey -> @+iv:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> @+bs:List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock> -> {0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofishKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofish.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofishKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofish.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, k, iv, bs)) == bs : List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock>}

Twofish (legacy-ciphers) in PCBC (pcbc.bend): decryption undoes encryption, for every key, IV and list of blocks

law twofish_lrw_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 874 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofishKey -> @+k2:0xeaa58f996c50eb57673f63c368c1de92/gf128.Gf128 -> @+i:0xeaa58f996c50eb57673f63c368c1de92/gf128.Gf128 -> @+bs:List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock> -> {0x01313a4f070f7ffd2bd276fcd2143eda/lrw.CrLrw.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofishKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofish.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.of_octets, k, k2, i, 0x01313a4f070f7ffd2bd276fcd2143eda/lrw.CrLrw.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofishKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/twofish.LcTwofish.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.of_octets, k, k2, i, bs)) == bs : List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock>}

Twofish (legacy-ciphers) in LRW (lrw.bend): decryption undoes encryption, for every key, tweak key, index and list of blocks

law aria_block_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 882 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/aria.LcAriaKey -> @+b:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> {0x7d16ec09f99b830428c8e2852af315f6/aria.LcAria.decrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/aria.LcAria.encrypt(k, b)) == b : 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock}

ARIA (legacy-ciphers): decryption undoes encryption, for every key and block

law aria_block_round_trip_dual openits proof in PROOF.bend does not pass the checker (timeout)source · line 888 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/aria.LcAriaKey -> @+b:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> {0x7d16ec09f99b830428c8e2852af315f6/aria.LcAria.encrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/aria.LcAria.decrypt(k, b)) == b : 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock}

ARIA (legacy-ciphers): encryption undoes decryption (a permutation of the blocks)

law aria_key_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 894 · raw

{Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x7d16ec09f99b830428c8e2852af315f6/aria.LcAriaKey, Unit, k => Unit{}, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrLc.key(0x7d16ec09f99b830428c8e2852af315f6/aria.LcAriaKey, 0x7d16ec09f99b830428c8e2852af315f6/aria.LcAria.key, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.zeros(20n))) == Fail{0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrBadKeyLength{20n}} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Unit>}

ARIA (legacy-ciphers): a key of 20 bytes is refused

law aria_ecb_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 898 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/aria.LcAriaKey -> @+bs:List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/aria.LcAriaKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/aria.LcAria.decrypt, k, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/aria.LcAriaKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/aria.LcAria.encrypt, k, bs)) == bs : List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock>}

ARIA (legacy-ciphers) in ECB (modes.bend): decryption undoes encryption, for every key and list of blocks

law aria_cbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 904 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/aria.LcAriaKey -> @+iv:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> @+bs:List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/aria.LcAriaKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/aria.LcAria.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/aria.LcAriaKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/aria.LcAria.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, k, iv, bs)) == bs : List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock>}

ARIA (legacy-ciphers) in CBC (modes.bend): decryption undoes encryption, for every key, IV and list of blocks

law aria_pcbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 911 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/aria.LcAriaKey -> @+iv:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> @+bs:List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock> -> {0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/aria.LcAriaKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/aria.LcAria.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/aria.LcAriaKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/aria.LcAria.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, k, iv, bs)) == bs : List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock>}

ARIA (legacy-ciphers) in PCBC (pcbc.bend): decryption undoes encryption, for every key, IV and list of blocks

law aria_lrw_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 918 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/aria.LcAriaKey -> @+k2:0xeaa58f996c50eb57673f63c368c1de92/gf128.Gf128 -> @+i:0xeaa58f996c50eb57673f63c368c1de92/gf128.Gf128 -> @+bs:List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock> -> {0x01313a4f070f7ffd2bd276fcd2143eda/lrw.CrLrw.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/aria.LcAriaKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/aria.LcAria.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.of_octets, k, k2, i, 0x01313a4f070f7ffd2bd276fcd2143eda/lrw.CrLrw.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/aria.LcAriaKey, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/aria.LcAria.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.of_octets, k, k2, i, bs)) == bs : List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock>}

ARIA (legacy-ciphers) in LRW (lrw.bend): decryption undoes encryption, for every key, tweak key, index and list of blocks

law cast6_block_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 926 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6Key -> @+b:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> {0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6.decrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6.encrypt(k, b)) == b : 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock}

CAST-256 (legacy-ciphers): decryption undoes encryption, for every key and block

law cast6_block_round_trip_dual openits proof in PROOF.bend does not pass the checker (timeout)source · line 932 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6Key -> @+b:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> {0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6.encrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6.decrypt(k, b)) == b : 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock}

CAST-256 (legacy-ciphers): encryption undoes decryption (a permutation of the blocks)

law cast6_key_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 938 · raw

{Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6Key, Unit, k => Unit{}, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrLc.key(0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6Key, 0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6.key, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.zeros(18n))) == Fail{0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrBadKeyLength{18n}} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Unit>}

CAST-256 (legacy-ciphers): a key of 18 bytes is refused

law cast6_ecb_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 942 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6Key -> @+bs:List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6Key, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6.decrypt, k, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6Key, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6.encrypt, k, bs)) == bs : List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock>}

CAST-256 (legacy-ciphers) in ECB (modes.bend): decryption undoes encryption, for every key and list of blocks

law cast6_cbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 948 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6Key -> @+iv:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> @+bs:List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6Key, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6Key, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, k, iv, bs)) == bs : List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock>}

CAST-256 (legacy-ciphers) in CBC (modes.bend): decryption undoes encryption, for every key, IV and list of blocks

law cast6_pcbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 955 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6Key -> @+iv:0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock -> @+bs:List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock> -> {0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6Key, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6Key, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, k, iv, bs)) == bs : List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock>}

CAST-256 (legacy-ciphers) in PCBC (pcbc.bend): decryption undoes encryption, for every key, IV and list of blocks

law cast6_lrw_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 962 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6Key -> @+k2:0xeaa58f996c50eb57673f63c368c1de92/gf128.Gf128 -> @+i:0xeaa58f996c50eb57673f63c368c1de92/gf128.Gf128 -> @+bs:List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock> -> {0x01313a4f070f7ffd2bd276fcd2143eda/lrw.CrLrw.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6Key, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.of_octets, k, k2, i, 0x01313a4f070f7ffd2bd276fcd2143eda/lrw.CrLrw.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6Key, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock, 0x7d16ec09f99b830428c8e2852af315f6/cast6.LcCast6.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.xor, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_cm.CrBlk128.of_octets, k, k2, i, bs)) == bs : List<&2, 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.CmBlock>}

CAST-256 (legacy-ciphers) in LRW (lrw.bend): decryption undoes encryption, for every key, tweak key, index and list of blocks

law blowfish_block_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 970 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/blowfish.LcBlowfishKey -> @+b:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> {0x7d16ec09f99b830428c8e2852af315f6/blowfish.LcBlowfish.decrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/blowfish.LcBlowfish.encrypt(k, b)) == b : 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64}

Blowfish (legacy-ciphers): decryption undoes encryption, for every key and block

law blowfish_block_round_trip_dual openits proof in PROOF.bend does not pass the checker (timeout)source · line 976 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/blowfish.LcBlowfishKey -> @+b:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> {0x7d16ec09f99b830428c8e2852af315f6/blowfish.LcBlowfish.encrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/blowfish.LcBlowfish.decrypt(k, b)) == b : 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64}

Blowfish (legacy-ciphers): encryption undoes decryption (a permutation of the blocks)

law blowfish_key_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 982 · raw

{Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x7d16ec09f99b830428c8e2852af315f6/blowfish.LcBlowfishKey, Unit, k => Unit{}, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrLc.key(0x7d16ec09f99b830428c8e2852af315f6/blowfish.LcBlowfishKey, 0x7d16ec09f99b830428c8e2852af315f6/blowfish.LcBlowfish.key, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.zeros(3n))) == Fail{0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrBadKeyLength{3n}} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Unit>}

Blowfish (legacy-ciphers): a key of 3 bytes is refused

law blowfish_ecb_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 986 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/blowfish.LcBlowfishKey -> @+bs:List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/blowfish.LcBlowfishKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/blowfish.LcBlowfish.decrypt, k, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/blowfish.LcBlowfishKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/blowfish.LcBlowfish.encrypt, k, bs)) == bs : List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64>}

Blowfish (legacy-ciphers) in ECB (modes.bend): decryption undoes encryption, for every key and list of blocks

law blowfish_cbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 992 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/blowfish.LcBlowfishKey -> @+iv:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> @+bs:List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/blowfish.LcBlowfishKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/blowfish.LcBlowfish.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/blowfish.LcBlowfishKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/blowfish.LcBlowfish.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, bs)) == bs : List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64>}

Blowfish (legacy-ciphers) in CBC (modes.bend): decryption undoes encryption, for every key, IV and list of blocks

law blowfish_pcbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 999 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/blowfish.LcBlowfishKey -> @+iv:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> @+bs:List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64> -> {0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/blowfish.LcBlowfishKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/blowfish.LcBlowfish.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/blowfish.LcBlowfishKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/blowfish.LcBlowfish.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, bs)) == bs : List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64>}

Blowfish (legacy-ciphers) in PCBC (pcbc.bend): decryption undoes encryption, for every key, IV and list of blocks

law cast5_block_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 1006 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/cast5.LcCast5Key -> @+b:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> {0x7d16ec09f99b830428c8e2852af315f6/cast5.LcCast5.decrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/cast5.LcCast5.encrypt(k, b)) == b : 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64}

CAST-128 (legacy-ciphers): decryption undoes encryption, for every key and block

law cast5_block_round_trip_dual openits proof in PROOF.bend does not pass the checker (timeout)source · line 1012 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/cast5.LcCast5Key -> @+b:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> {0x7d16ec09f99b830428c8e2852af315f6/cast5.LcCast5.encrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/cast5.LcCast5.decrypt(k, b)) == b : 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64}

CAST-128 (legacy-ciphers): encryption undoes decryption (a permutation of the blocks)

law cast5_key_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 1018 · raw

{Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x7d16ec09f99b830428c8e2852af315f6/cast5.LcCast5Key, Unit, k => Unit{}, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrLc.key(0x7d16ec09f99b830428c8e2852af315f6/cast5.LcCast5Key, 0x7d16ec09f99b830428c8e2852af315f6/cast5.LcCast5.key, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.zeros(4n))) == Fail{0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrBadKeyLength{4n}} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Unit>}

CAST-128 (legacy-ciphers): a key of 4 bytes is refused

law cast5_ecb_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 1022 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/cast5.LcCast5Key -> @+bs:List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/cast5.LcCast5Key, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/cast5.LcCast5.decrypt, k, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/cast5.LcCast5Key, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/cast5.LcCast5.encrypt, k, bs)) == bs : List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64>}

CAST-128 (legacy-ciphers) in ECB (modes.bend): decryption undoes encryption, for every key and list of blocks

law cast5_cbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 1028 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/cast5.LcCast5Key -> @+iv:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> @+bs:List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/cast5.LcCast5Key, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/cast5.LcCast5.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/cast5.LcCast5Key, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/cast5.LcCast5.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, bs)) == bs : List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64>}

CAST-128 (legacy-ciphers) in CBC (modes.bend): decryption undoes encryption, for every key, IV and list of blocks

law cast5_pcbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 1035 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/cast5.LcCast5Key -> @+iv:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> @+bs:List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64> -> {0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/cast5.LcCast5Key, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/cast5.LcCast5.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/cast5.LcCast5Key, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/cast5.LcCast5.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, bs)) == bs : List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64>}

CAST-128 (legacy-ciphers) in PCBC (pcbc.bend): decryption undoes encryption, for every key, IV and list of blocks

law tea_block_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 1042 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/tea.LcTeaKey -> @+b:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> {0x7d16ec09f99b830428c8e2852af315f6/tea.LcTea.decrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/tea.LcTea.encrypt(k, b)) == b : 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64}

TEA, little-endian words (legacy-ciphers): decryption undoes encryption, for every key and block

law tea_block_round_trip_dual openits proof in PROOF.bend does not pass the checker (timeout)source · line 1048 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/tea.LcTeaKey -> @+b:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> {0x7d16ec09f99b830428c8e2852af315f6/tea.LcTea.encrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/tea.LcTea.decrypt(k, b)) == b : 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64}

TEA, little-endian words (legacy-ciphers): encryption undoes decryption (a permutation of the blocks)

law tea_key_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 1054 · raw

{Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x7d16ec09f99b830428c8e2852af315f6/tea.LcTeaKey, Unit, k => Unit{}, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrLc.key(0x7d16ec09f99b830428c8e2852af315f6/tea.LcTeaKey, 0x7d16ec09f99b830428c8e2852af315f6/tea.LcTea.key, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.zeros(15n))) == Fail{0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrBadKeyLength{15n}} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Unit>}

TEA, little-endian words (legacy-ciphers): a key of 15 bytes is refused

law tea_ecb_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 1058 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/tea.LcTeaKey -> @+bs:List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/tea.LcTeaKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/tea.LcTea.decrypt, k, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/tea.LcTeaKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/tea.LcTea.encrypt, k, bs)) == bs : List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64>}

TEA, little-endian words (legacy-ciphers) in ECB (modes.bend): decryption undoes encryption, for every key and list of blocks

law tea_cbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 1064 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/tea.LcTeaKey -> @+iv:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> @+bs:List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/tea.LcTeaKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/tea.LcTea.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/tea.LcTeaKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/tea.LcTea.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, bs)) == bs : List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64>}

TEA, little-endian words (legacy-ciphers) in CBC (modes.bend): decryption undoes encryption, for every key, IV and list of blocks

law tea_pcbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 1071 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/tea.LcTeaKey -> @+iv:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> @+bs:List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64> -> {0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/tea.LcTeaKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/tea.LcTea.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/tea.LcTeaKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/tea.LcTea.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, bs)) == bs : List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64>}

TEA, little-endian words (legacy-ciphers) in PCBC (pcbc.bend): decryption undoes encryption, for every key, IV and list of blocks

law xtea_block_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 1078 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/xtea.LcXteaKey -> @+b:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> {0x7d16ec09f99b830428c8e2852af315f6/xtea.LcXtea.decrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/xtea.LcXtea.encrypt(k, b)) == b : 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64}

XTEA, little-endian words (legacy-ciphers): decryption undoes encryption, for every key and block

law xtea_block_round_trip_dual openits proof in PROOF.bend does not pass the checker (timeout)source · line 1084 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/xtea.LcXteaKey -> @+b:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> {0x7d16ec09f99b830428c8e2852af315f6/xtea.LcXtea.encrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/xtea.LcXtea.decrypt(k, b)) == b : 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64}

XTEA, little-endian words (legacy-ciphers): encryption undoes decryption (a permutation of the blocks)

law xtea_key_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 1090 · raw

{Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x7d16ec09f99b830428c8e2852af315f6/xtea.LcXteaKey, Unit, k => Unit{}, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrLc.key(0x7d16ec09f99b830428c8e2852af315f6/xtea.LcXteaKey, 0x7d16ec09f99b830428c8e2852af315f6/xtea.LcXtea.key, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.zeros(17n))) == Fail{0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrBadKeyLength{17n}} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Unit>}

XTEA, little-endian words (legacy-ciphers): a key of 17 bytes is refused

law xtea_ecb_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 1094 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/xtea.LcXteaKey -> @+bs:List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/xtea.LcXteaKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/xtea.LcXtea.decrypt, k, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/xtea.LcXteaKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/xtea.LcXtea.encrypt, k, bs)) == bs : List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64>}

XTEA, little-endian words (legacy-ciphers) in ECB (modes.bend): decryption undoes encryption, for every key and list of blocks

law xtea_cbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 1100 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/xtea.LcXteaKey -> @+iv:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> @+bs:List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/xtea.LcXteaKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/xtea.LcXtea.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/xtea.LcXteaKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/xtea.LcXtea.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, bs)) == bs : List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64>}

XTEA, little-endian words (legacy-ciphers) in CBC (modes.bend): decryption undoes encryption, for every key, IV and list of blocks

law xtea_pcbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 1107 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/xtea.LcXteaKey -> @+iv:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> @+bs:List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64> -> {0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/xtea.LcXteaKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/xtea.LcXtea.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/xtea.LcXteaKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/xtea.LcXtea.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, bs)) == bs : List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64>}

XTEA, little-endian words (legacy-ciphers) in PCBC (pcbc.bend): decryption undoes encryption, for every key, IV and list of blocks

law fcrypt_block_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 1114 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/fcrypt.LcFcryptKey -> @+b:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> {0x7d16ec09f99b830428c8e2852af315f6/fcrypt.LcFcrypt.decrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/fcrypt.LcFcrypt.encrypt(k, b)) == b : 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64}

FCrypt (legacy-ciphers): decryption undoes encryption, for every key and block

law fcrypt_block_round_trip_dual openits proof in PROOF.bend does not pass the checker (timeout)source · line 1120 · raw

@k:0x7d16ec09f99b830428c8e2852af315f6/fcrypt.LcFcryptKey -> @+b:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> {0x7d16ec09f99b830428c8e2852af315f6/fcrypt.LcFcrypt.encrypt(k, 0x7d16ec09f99b830428c8e2852af315f6/fcrypt.LcFcrypt.decrypt(k, b)) == b : 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64}

FCrypt (legacy-ciphers): encryption undoes decryption (a permutation of the blocks)

law fcrypt_key_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 1126 · raw

{Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0x7d16ec09f99b830428c8e2852af315f6/fcrypt.LcFcryptKey, Unit, k => Unit{}, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrLc.key(0x7d16ec09f99b830428c8e2852af315f6/fcrypt.LcFcryptKey, 0x7d16ec09f99b830428c8e2852af315f6/fcrypt.LcFcrypt.key, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.zeros(7n))) == Fail{0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrBadKeyLength{7n}} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Unit>}

FCrypt (legacy-ciphers): a key of 7 bytes is refused

law fcrypt_ecb_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 1130 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/fcrypt.LcFcryptKey -> @+bs:List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/fcrypt.LcFcryptKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/fcrypt.LcFcrypt.decrypt, k, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrEcb.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/fcrypt.LcFcryptKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/fcrypt.LcFcrypt.encrypt, k, bs)) == bs : List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64>}

FCrypt (legacy-ciphers) in ECB (modes.bend): decryption undoes encryption, for every key and list of blocks

law fcrypt_cbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 1136 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/fcrypt.LcFcryptKey -> @+iv:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> @+bs:List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64> -> {0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/fcrypt.LcFcryptKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/fcrypt.LcFcrypt.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/modes.CrCbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/fcrypt.LcFcryptKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/fcrypt.LcFcrypt.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, bs)) == bs : List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64>}

FCrypt (legacy-ciphers) in CBC (modes.bend): decryption undoes encryption, for every key, IV and list of blocks

law fcrypt_pcbc_round_trip openits proof in PROOF.bend does not pass the checker (timeout)source · line 1143 · raw

@+k:0x7d16ec09f99b830428c8e2852af315f6/fcrypt.LcFcryptKey -> @+iv:0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64 -> @+bs:List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64> -> {0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.decrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/fcrypt.LcFcryptKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/fcrypt.LcFcrypt.decrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, 0x01313a4f070f7ffd2bd276fcd2143eda/pcbc.CrPcbc.encrypt_blocks(0x7d16ec09f99b830428c8e2852af315f6/fcrypt.LcFcryptKey, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64, 0x7d16ec09f99b830428c8e2852af315f6/fcrypt.LcFcrypt.encrypt, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_lc.CrBlk64.xor, k, iv, bs)) == bs : List<&2, 0x7d16ec09f99b830428c8e2852af315f6/legacy_ciphers.LcBlock64>}

FCrypt (legacy-ciphers) in PCBC (pcbc.bend): decryption undoes encryption, for every key, IV and list of blocks

law aes_key_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 1150 · raw

{Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0xf4b936e0e6b2608080d2f02bb3ce9abe/aes.CmAesKey, Unit, k => Unit{}, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_aes.CrAes.key(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.zeros(24n))) == Fail{0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrBadKeyLength{24n}} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Unit>}

AES-128 and AES-256 (cipher-modes): a key of 24 bytes is refused

law aes_enc_key_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 1154 · raw

{Result.map(&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, 0xf4b936e0e6b2608080d2f02bb3ce9abe/aes.CmAesKey, Unit, k => Unit{}, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_aes.CrAes.key_enc(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.zeros(20n))) == Fail{0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrBadKeyLength{20n}} : Result<&2, &2, 0x01313a4f070f7ffd2bd276fcd2143eda/crypto.CrError, Unit>}

AES, encryption key schedule only (cipher-modes): a key of 20 bytes is refused

law rc4_stream_involution openits proof in PROOF.bend does not pass the checker (timeout)source · line 1158 · raw

@+s:0x7d16ec09f99b830428c8e2852af315f6/rc4.LcRc4State -> @+m:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x7d16ec09f99b830428c8e2852af315f6/rc4.LcRc4.out_data(0x7d16ec09f99b830428c8e2852af315f6/rc4.LcRc4.update(s, 0x7d16ec09f99b830428c8e2852af315f6/rc4.LcRc4.out_data(0x7d16ec09f99b830428c8e2852af315f6/rc4.LcRc4.update(s, m)))) == m : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

RC4 (legacy-ciphers): from one state, applied twice, the data comes back

law rc4_stream_streaming_data openits proof in PROOF.bend does not pass the checker (timeout)source · line 1164 · raw

@+s:0x7d16ec09f99b830428c8e2852af315f6/rc4.LcRc4State -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x7d16ec09f99b830428c8e2852af315f6/rc4.LcRc4.out_data(0x7d16ec09f99b830428c8e2852af315f6/rc4.LcRc4.update(s, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b))) == 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(0x7d16ec09f99b830428c8e2852af315f6/rc4.LcRc4.out_data(0x7d16ec09f99b830428c8e2852af315f6/rc4.LcRc4.update(s, a)), 0x7d16ec09f99b830428c8e2852af315f6/rc4.LcRc4.out_data(0x7d16ec09f99b830428c8e2852af315f6/rc4.LcRc4.update(0x7d16ec09f99b830428c8e2852af315f6/rc4.LcRc4.out_state(0x7d16ec09f99b830428c8e2852af315f6/rc4.LcRc4.update(s, a)), b))) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

RC4 (legacy-ciphers): the output of a ++ b is the output of a, then of b from the state after a

law rc4_stream_streaming_state openits proof in PROOF.bend does not pass the checker (timeout)source · line 1171 · raw

@+s:0x7d16ec09f99b830428c8e2852af315f6/rc4.LcRc4State -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x7d16ec09f99b830428c8e2852af315f6/rc4.LcRc4.out_state(0x7d16ec09f99b830428c8e2852af315f6/rc4.LcRc4.update(s, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b))) == 0x7d16ec09f99b830428c8e2852af315f6/rc4.LcRc4.out_state(0x7d16ec09f99b830428c8e2852af315f6/rc4.LcRc4.update(0x7d16ec09f99b830428c8e2852af315f6/rc4.LcRc4.out_state(0x7d16ec09f99b830428c8e2852af315f6/rc4.LcRc4.update(s, a)), b)) : 0x7d16ec09f99b830428c8e2852af315f6/rc4.LcRc4State}

RC4 (legacy-ciphers): the state after a ++ b is the state after a, then b

law hmac_crc32_streaming openits proof in PROOF.bend does not pass the checker (timeout)source · line 1178 · raw

@-spec:0x7a77d751f1a239b5a366af461ab7f041/crc.Crc32Spec -> @s:0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacState<U32> -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(U32, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.update(spec), s, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(U32, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.update(spec), 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(U32, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.update(spec), s, a), b) : 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacState<U32>}

HMAC over CRC-32 of any parameter set (crc): the state after a ++ b is the state after a, then b

law hmac_crc32_split openits proof in PROOF.bend does not pass the checker (timeout)source · line 1186 · raw

@-spec:0x7a77d751f1a239b5a366af461ab7f041/crc.Crc32Spec -> @+kk:0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacKey -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.finish(U32, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.init(spec), 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.update(spec), 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.final(spec), 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(U32, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.update(spec), 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(U32, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.update(spec), 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.start(U32, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.init(spec), 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.update(spec), kk), a), b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.mac(0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc32.digest(spec), kk, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

HMAC over CRC-32 of any parameter set (crc): the tag in pieces is the tag in one call, for every split

law hmac_crc64_streaming openits proof in PROOF.bend does not pass the checker (timeout)source · line 1194 · raw

@-spec:0x7a77d751f1a239b5a366af461ab7f041/crc.Crc64Spec -> @s:0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacState<0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64> -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.update(spec), s, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.update(spec), 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.update(spec), s, a), b) : 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacState<0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64>}

HMAC over CRC-64 of any parameter set (crc): the state after a ++ b is the state after a, then b

law hmac_crc64_split openits proof in PROOF.bend does not pass the checker (timeout)source · line 1202 · raw

@-spec:0x7a77d751f1a239b5a366af461ab7f041/crc.Crc64Spec -> @+kk:0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacKey -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.finish(0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.init(spec), 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.update(spec), 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.final(spec), 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.update(spec), 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.update(spec), 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.start(0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.init(spec), 0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.update(spec), kk), a), b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.mac(0x01313a4f070f7ffd2bd276fcd2143eda/inst_crc.CrCrc64.digest(spec), kk, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

HMAC over CRC-64 of any parameter set (crc): the tag in pieces is the tag in one call, for every split

law hmac_sha256_split openits proof in PROOF.bend does not pass the checker (timeout)source · line 1210 · raw

@+kk:0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacKey -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.finish(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2State, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.init256, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.update, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.final, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2State, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2State, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.start(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2State, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.init256, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.update, kk), a), b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.mac(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.sha256, kk, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

HMAC over SHA-256 (bend-collections): the tag in pieces is the tag in one call, for every split

law hmac_sha512_split openits proof in PROOF.bend does not pass the checker (timeout)source · line 1217 · raw

@+kk:0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacKey -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.finish(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2State, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.init512, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.update, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.final, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2State, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2State, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.start(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2State, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.init512, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.update, kk), a), b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.mac(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha2.CrSha2.sha512, kk, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

HMAC over SHA-512 (bend-collections): the tag in pieces is the tag in one call, for every split

law hmac_sha3_256_split openits proof in PROOF.bend does not pass the checker (timeout)source · line 1224 · raw

@+kk:0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacKey -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.finish(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3State, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3.init, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3.update, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3.final, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3State, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3State, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.start(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3State, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3.init, 0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3.update, kk), a), b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.mac(0x01313a4f070f7ffd2bd276fcd2143eda/inst_sha3.CrSha3.sha3_256, kk, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

HMAC over SHA3-256 (bend-collections): the tag in pieces is the tag in one call, for every split

law md4_hash_streaming openits proof in PROOF.bend does not pass the checker (timeout)source · line 1231 · raw

@s:0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW4> -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.update(s, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) == 0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.update(0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.update(s, a), b) : 0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW4>}

MD4 (hashes): update over a ++ b is update over a, then b, for every state

law md4_hash_split openits proof in PROOF.bend does not pass the checker (timeout)source · line 1238 · raw

@+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.final(0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.update(0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.update(0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.init, a), b)) == 0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.digest(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

MD4 (hashes): streaming equals one-shot, for every split

law md4_hash_split3 openits proof in PROOF.bend does not pass the checker (timeout)source · line 1244 · raw

@+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+c:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.final(0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.update(0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.update(0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.update(0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.init, a), b), c)) == 0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.digest(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(b, c))) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

MD4 (hashes): and for every split into three

law md4_hash_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 1251 · raw

@+s:0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW4> -> {0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.len(0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.final(s)) == 16n : Nat}

MD4 (hashes): final(s) has 16 bytes, for every state

law hmac_md4_streaming openits proof in PROOF.bend does not pass the checker (timeout)source · line 1256 · raw

@s:0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacState<0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW4>> -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW4>, 0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.update, s, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW4>, 0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW4>, 0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.update, s, a), b) : 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacState<0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW4>>}

HMAC over MD4 (hashes): the state after a ++ b is the state after a, then b

law hmac_md4_split openits proof in PROOF.bend does not pass the checker (timeout)source · line 1263 · raw

@+kk:0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacKey -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.finish(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW4>, 0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.init, 0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.update, 0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.final, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW4>, 0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW4>, 0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.start(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW4>, 0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.init, 0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.update, kk), a), b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.mac(0xd04c3185dce130521497bf85ab03f249/md4.HsMd4.digest, kk, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

HMAC over MD4 (hashes): the tag in pieces is the tag in one call, for every split

law md5_hash_streaming openits proof in PROOF.bend does not pass the checker (timeout)source · line 1270 · raw

@s:0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW4> -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.update(s, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) == 0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.update(0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.update(s, a), b) : 0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW4>}

MD5 (hashes): update over a ++ b is update over a, then b, for every state

law md5_hash_split openits proof in PROOF.bend does not pass the checker (timeout)source · line 1277 · raw

@+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.final(0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.update(0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.update(0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.init, a), b)) == 0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.digest(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

MD5 (hashes): streaming equals one-shot, for every split

law md5_hash_split3 openits proof in PROOF.bend does not pass the checker (timeout)source · line 1283 · raw

@+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+c:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.final(0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.update(0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.update(0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.update(0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.init, a), b), c)) == 0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.digest(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(b, c))) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

MD5 (hashes): and for every split into three

law md5_hash_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 1290 · raw

@+s:0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW4> -> {0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.len(0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.final(s)) == 16n : Nat}

MD5 (hashes): final(s) has 16 bytes, for every state

law hmac_md5_streaming openits proof in PROOF.bend does not pass the checker (timeout)source · line 1295 · raw

@s:0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacState<0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW4>> -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW4>, 0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.update, s, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW4>, 0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW4>, 0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.update, s, a), b) : 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacState<0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW4>>}

HMAC over MD5 (hashes): the state after a ++ b is the state after a, then b

law hmac_md5_split openits proof in PROOF.bend does not pass the checker (timeout)source · line 1302 · raw

@+kk:0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacKey -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.finish(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW4>, 0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.init, 0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.update, 0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.final, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW4>, 0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW4>, 0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.start(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW4>, 0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.init, 0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.update, kk), a), b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.mac(0xd04c3185dce130521497bf85ab03f249/md5.HsMd5.digest, kk, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

HMAC over MD5 (hashes): the tag in pieces is the tag in one call, for every split

law sha1_hash_streaming openits proof in PROOF.bend does not pass the checker (timeout)source · line 1309 · raw

@s:0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW5> -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.update(s, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) == 0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.update(0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.update(s, a), b) : 0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW5>}

SHA-1 (hashes): update over a ++ b is update over a, then b, for every state

law sha1_hash_split openits proof in PROOF.bend does not pass the checker (timeout)source · line 1316 · raw

@+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.final(0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.update(0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.update(0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.init, a), b)) == 0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.digest(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

SHA-1 (hashes): streaming equals one-shot, for every split

law sha1_hash_split3 openits proof in PROOF.bend does not pass the checker (timeout)source · line 1322 · raw

@+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+c:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.final(0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.update(0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.update(0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.update(0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.init, a), b), c)) == 0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.digest(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(b, c))) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

SHA-1 (hashes): and for every split into three

law sha1_hash_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 1329 · raw

@+s:0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW5> -> {0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.len(0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.final(s)) == 20n : Nat}

SHA-1 (hashes): final(s) has 20 bytes, for every state

law hmac_sha1_streaming openits proof in PROOF.bend does not pass the checker (timeout)source · line 1334 · raw

@s:0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacState<0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW5>> -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW5>, 0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.update, s, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW5>, 0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW5>, 0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.update, s, a), b) : 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacState<0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW5>>}

HMAC over SHA-1 (hashes): the state after a ++ b is the state after a, then b

law hmac_sha1_split openits proof in PROOF.bend does not pass the checker (timeout)source · line 1341 · raw

@+kk:0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacKey -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.finish(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW5>, 0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.init, 0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.update, 0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.final, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW5>, 0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW5>, 0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.start(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW5>, 0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.init, 0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.update, kk), a), b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.mac(0xd04c3185dce130521497bf85ab03f249/sha1.HsSha1.digest, kk, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

HMAC over SHA-1 (hashes): the tag in pieces is the tag in one call, for every split

law ripemd160_hash_streaming openits proof in PROOF.bend does not pass the checker (timeout)source · line 1348 · raw

@s:0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW5> -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.update(s, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) == 0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.update(0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.update(s, a), b) : 0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW5>}

RIPEMD-160 (hashes): update over a ++ b is update over a, then b, for every state

law ripemd160_hash_split openits proof in PROOF.bend does not pass the checker (timeout)source · line 1355 · raw

@+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.final(0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.update(0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.update(0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.init, a), b)) == 0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.digest(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

RIPEMD-160 (hashes): streaming equals one-shot, for every split

law ripemd160_hash_split3 openits proof in PROOF.bend does not pass the checker (timeout)source · line 1361 · raw

@+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+c:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.final(0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.update(0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.update(0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.update(0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.init, a), b), c)) == 0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.digest(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(b, c))) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

RIPEMD-160 (hashes): and for every split into three

law ripemd160_hash_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 1368 · raw

@+s:0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW5> -> {0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.len(0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.final(s)) == 20n : Nat}

RIPEMD-160 (hashes): final(s) has 20 bytes, for every state

law hmac_ripemd160_streaming openits proof in PROOF.bend does not pass the checker (timeout)source · line 1373 · raw

@s:0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacState<0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW5>> -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW5>, 0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.update, s, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW5>, 0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW5>, 0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.update, s, a), b) : 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacState<0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW5>>}

HMAC over RIPEMD-160 (hashes): the state after a ++ b is the state after a, then b

law hmac_ripemd160_split openits proof in PROOF.bend does not pass the checker (timeout)source · line 1380 · raw

@+kk:0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacKey -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.finish(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW5>, 0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.init, 0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.update, 0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.final, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW5>, 0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW5>, 0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.start(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW5>, 0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.init, 0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.update, kk), a), b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.mac(0xd04c3185dce130521497bf85ab03f249/ripemd160.HsRipemd160.digest, kk, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

HMAC over RIPEMD-160 (hashes): the tag in pieces is the tag in one call, for every split

law sm3_hash_streaming openits proof in PROOF.bend does not pass the checker (timeout)source · line 1387 · raw

@s:0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW8> -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.update(s, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) == 0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.update(0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.update(s, a), b) : 0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW8>}

SM3 (hashes): update over a ++ b is update over a, then b, for every state

law sm3_hash_split openits proof in PROOF.bend does not pass the checker (timeout)source · line 1394 · raw

@+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.final(0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.update(0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.update(0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.init, a), b)) == 0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.digest(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

SM3 (hashes): streaming equals one-shot, for every split

law sm3_hash_split3 openits proof in PROOF.bend does not pass the checker (timeout)source · line 1400 · raw

@+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+c:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.final(0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.update(0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.update(0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.update(0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.init, a), b), c)) == 0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.digest(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(b, c))) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

SM3 (hashes): and for every split into three

law sm3_hash_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 1407 · raw

@+s:0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW8> -> {0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.len(0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.final(s)) == 32n : Nat}

SM3 (hashes): final(s) has 32 bytes, for every state

law hmac_sm3_streaming openits proof in PROOF.bend does not pass the checker (timeout)source · line 1412 · raw

@s:0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacState<0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW8>> -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW8>, 0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.update, s, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW8>, 0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW8>, 0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.update, s, a), b) : 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacState<0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW8>>}

HMAC over SM3 (hashes): the state after a ++ b is the state after a, then b

law hmac_sm3_split openits proof in PROOF.bend does not pass the checker (timeout)source · line 1419 · raw

@+kk:0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacKey -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.finish(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW8>, 0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.init, 0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.update, 0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.final, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW8>, 0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW8>, 0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.start(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/hashes.HsW8>, 0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.init, 0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.update, kk), a), b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.mac(0xd04c3185dce130521497bf85ab03f249/sm3.HsSm3.digest, kk, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

HMAC over SM3 (hashes): the tag in pieces is the tag in one call, for every split

law streebog256_hash_streaming openits proof in PROOF.bend does not pass the checker (timeout)source · line 1426 · raw

@s:0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/streebog.HsStbCv> -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update(s, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) == 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update(0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update(s, a), b) : 0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/streebog.HsStbCv>}

Streebog-256 (hashes): update over a ++ b is update over a, then b, for every state

law streebog256_hash_split openits proof in PROOF.bend does not pass the checker (timeout)source · line 1433 · raw

@+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.final256(0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update(0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update(0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.init256, a), b)) == 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.digest256(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

Streebog-256 (hashes): streaming equals one-shot, for every split

law streebog256_hash_split3 openits proof in PROOF.bend does not pass the checker (timeout)source · line 1439 · raw

@+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+c:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.final256(0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update(0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update(0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update(0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.init256, a), b), c)) == 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.digest256(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(b, c))) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

Streebog-256 (hashes): and for every split into three

law streebog256_hash_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 1446 · raw

@+s:0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/streebog.HsStbCv> -> {0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.len(0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.final256(s)) == 32n : Nat}

Streebog-256 (hashes): final(s) has 32 bytes, for every state

law hmac_streebog256_streaming openits proof in PROOF.bend does not pass the checker (timeout)source · line 1451 · raw

@s:0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacState<0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/streebog.HsStbCv>> -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/streebog.HsStbCv>, 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update, s, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/streebog.HsStbCv>, 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/streebog.HsStbCv>, 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update, s, a), b) : 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacState<0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/streebog.HsStbCv>>}

HMAC over Streebog-256 (hashes): the state after a ++ b is the state after a, then b

law hmac_streebog256_split openits proof in PROOF.bend does not pass the checker (timeout)source · line 1458 · raw

@+kk:0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacKey -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.finish(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/streebog.HsStbCv>, 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.init256, 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update, 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.final256, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/streebog.HsStbCv>, 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/streebog.HsStbCv>, 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.start(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/streebog.HsStbCv>, 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.init256, 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update, kk), a), b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.mac(0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.digest256, kk, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

HMAC over Streebog-256 (hashes): the tag in pieces is the tag in one call, for every split

law streebog512_hash_streaming openits proof in PROOF.bend does not pass the checker (timeout)source · line 1465 · raw

@s:0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/streebog.HsStbCv> -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update(s, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) == 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update(0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update(s, a), b) : 0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/streebog.HsStbCv>}

Streebog-512 (hashes): update over a ++ b is update over a, then b, for every state

law streebog512_hash_split openits proof in PROOF.bend does not pass the checker (timeout)source · line 1472 · raw

@+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.final512(0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update(0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update(0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.init512, a), b)) == 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.digest512(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

Streebog-512 (hashes): streaming equals one-shot, for every split

law streebog512_hash_split3 openits proof in PROOF.bend does not pass the checker (timeout)source · line 1478 · raw

@+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+c:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.final512(0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update(0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update(0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update(0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.init512, a), b), c)) == 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.digest512(0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(b, c))) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

Streebog-512 (hashes): and for every split into three

law streebog512_hash_length openits proof in PROOF.bend does not pass the checker (timeout)source · line 1485 · raw

@+s:0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/streebog.HsStbCv> -> {0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.len(0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.final512(s)) == 64n : Nat}

Streebog-512 (hashes): final(s) has 64 bytes, for every state

law hmac_streebog512_streaming openits proof in PROOF.bend does not pass the checker (timeout)source · line 1490 · raw

@s:0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacState<0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/streebog.HsStbCv>> -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/streebog.HsStbCv>, 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update, s, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/streebog.HsStbCv>, 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/streebog.HsStbCv>, 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update, s, a), b) : 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacState<0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/streebog.HsStbCv>>}

HMAC over Streebog-512 (hashes): the state after a ++ b is the state after a, then b

law hmac_streebog512_split openits proof in PROOF.bend does not pass the checker (timeout)source · line 1497 · raw

@+kk:0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmacKey -> @+a:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+b:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> {0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.finish(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/streebog.HsStbCv>, 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.init512, 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update, 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.final512, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/streebog.HsStbCv>, 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.update(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/streebog.HsStbCv>, 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update, 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.start(0xd04c3185dce130521497bf85ab03f249/hashes.HsMdState<0xd04c3185dce130521497bf85ab03f249/streebog.HsStbCv>, 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.init512, 0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.update, kk), a), b)) == 0x01313a4f070f7ffd2bd276fcd2143eda/hmac.CrHmac.mac(0xd04c3185dce130521497bf85ab03f249/streebog.HsStreebog.digest512, kk, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets.append(a, b)) : 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets}

HMAC over Streebog-512 (hashes): the tag in pieces is the tag in one call, for every split