Key : TypeChaChaState : Typeconstants : Vect 4 Bits32quarter_rotate : Fin 16 -> Fin 16 -> Fin 16 -> Fin 16 -> State ChaChaState ()double_rotate : State ChaChaState ()run2x : Nat -> ChaChaState -> ChaChaStatechacha_rfc8439_block : Nat -> Bits32 -> Key -> Vect 3 Bits32 -> Vect 64 Bits8ChaCha construction with 4 octets counter and 12 octets nonce as per RFC8439
chacha_original_block : Nat -> Bits64 -> Key -> Vect 2 Bits32 -> Vect 64 Bits8ChaCha construction with 8 octets counter and 8 octets nonce as per the original ChaCha specification