def osplit_at

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/aead/chacha20poly1305.bend:246

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/aead/chacha20poly1305.bend as Chacha20poly1305
import Base
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/chacha.bend as RC
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/chacha20poly1305.bend as R

246def osplit_at(+key: List<&2, U32>, +nonce: List<&2, U32>, +aad: List<&2, U32>, +d: List<&2, U32>, +n: Nat) -> Maybe<&2, List<&2, U32>>:
247  R.open_split(key, nonce, aad, RC.prefix(n, d), RC.suffix(n, d))

Uses (7)

Used by (1)