def hchacha_rounds

bend-collections@1.0.0.0 · src/crypto/chacha/chacha20.bend:112

import bend-collections@1.0.0.0/src/crypto/chacha/chacha20.bend as Chacha20
import Base

112def hchacha_rounds(+r: Nat, key_bytes: List<&2, U32>, nonce_bytes: List<&2, U32>) -> List<&2, U32>:
113  match key_bytes:
114    case Nil{}: hchacha_body(r, Nil{}, nonce_bytes)
115    case b <> rest: hchacha_body(r, b <> rest, nonce_bytes)

Uses (4)

Used by (1)