Chacha20.block_rounds: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/crypto/chacha/chacha20.bend as Chacha20 Lines 94-100 of bend-collections@1.0.0.0/src/crypto/chacha/chacha20.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/crypto/chacha/chacha20.bend&start_line=94&end_line=100 import Base # The block function entered through a match on the key's first cell: both # arms are block_body; with a symbolic key the proof checker leaves the call # unevaluated instead of unrolling the rounds when it compares types. def block_rounds(+r: Nat, key_bytes: List<&2, U32>, counter: U32, nonce_bytes: List<&2, U32>) -> List<&2, U32>: match key_bytes: case Nil{}: block_body(r, Nil{}, counter, nonce_bytes) case b <> rest: block_body(r, b <> rest, counter, nonce_bytes) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/chacha/chacha20.bend&name=block_body