def skip
import bend-collections-laws-crypto@1.0.0.0/src/crypto/chacha/chacha20.bend as Chacha20import Base
72def skip(n: Nat, xs: List<&2, U32>) -> List<&2, U32>:
73 match n xs:
74 case 0n _: xs
75 case 1n+p Nil{}: Nil{}
76 case 1n+p x <> rest: skip(p, rest)
Uses (3)
Used by (9)
- bend-collections-laws-crypto@1.0.0.0/src/crypto/aead/chacha20poly1305:xnonce
- bend-collections-laws-crypto@1.0.0.0/src/crypto/chacha/chacha20:xencrypt_unchecked
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/chacha/stream:skip_eq
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/aead/chacha20poly1305:xnonce_eq
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/chacha/xchacha:xencrypt_correct
- …