Daiki Ueno ueno@gnu.org writes:
From: Daiki Ueno dueno@redhat.com
The ChaCha20 based header protection algorithm in QUIC requires a way to set the initial value of counter: https://quicwg.org/base-drafts/draft-ietf-quic-tls.html#name-chacha20-based-...
This will add a new function chacha_set_counter, which takes an 8-octet initial value of the block counter.
Do you see any need to add functions working with a 32-bit counter (together with chacha_set_nonce96)? We could have something like chacha_set_counter32 and chacha_crypt32.
Regards, /Niels