Re: [PATCH] chacha: add function to set the initial value of counter

2020-03-04 Thread Daiki Ueno
Hello, ni...@lysator.liu.se (Niels Möller) writes: > Daiki Ueno writes: > >> 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 > > Out of

Re: [PATCH] chacha: add function to set the initial value of counter

2020-03-03 Thread Niels Möller
Daiki Ueno writes: > 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 Out of curiosity, are you aware on any quic implementation using Nettle?

[PATCH] chacha: add function to set the initial value of counter

2020-02-26 Thread Daiki Ueno
From: Daiki Ueno 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_nonce128, which takes the counter value