def hchacha_rounds
import bend-collections@1.0.0.0/src/crypto/chacha/chacha20.bend as Chacha20import 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)