Skip to content
Snippets Groups Projects
Commit a9894036 authored by Daiki Ueno's avatar Daiki Ueno Committed by Niels Möller
Browse files

chacha: add function to set initial block counter

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-header-prote



This will add a new function chacha_set_counter, which takes an
8-octet initial value of the block counter.

Signed-off-by: default avatarDaiki Ueno <dueno@redhat.com>
parent 84284d37
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment