law chacha20_block.invalid
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/chacha/laws.bend as Lawsimport Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/chacha/chacha20.bend as I
61law chacha20_block.invalid:
62 for +key: List<&2, U32>
63 for +counter: U32
64 for +nonce: List<&2, U32>
65 for +h: {Bool.and(Nat.is_eq(List.length(&2, U32, key), 32n), Nat.is_eq(List.length(&2, U32, nonce), 12n)) == False{} : Bool}
66 {I.chacha20_block(key, counter, nonce) == None{} : Maybe<&2, List<&2, U32>>}
Uses (11)
Used by (0)
No other definition uses this definition.