Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | chacha: add variant that treats counter value as 32-bit | Daiki Ueno | 2020-03-09 | 1 | -0/+6 |
| | | | | | | | | | | | The ChaCha-Poly1305 implementation previously used the chacha_crypt function that assumes the block counter is 64-bit long, while RFC 8439 defines that the counter is 32-bit long. Although this should be fine as long as up to 256 gigabytes of data is encrypted with the same key, it would be nice to use a separate functions (chacha_set_counter32 and chacha_crypt32) that assume the counter is 32-bit long. Signed-off-by: Daiki Ueno <dueno@redhat.com> | ||||
* | chacha: add function to set initial block counter | Daiki Ueno | 2020-03-09 | 1 | -0/+7 |
| | | | | | | | | | | | 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: Daiki Ueno <dueno@redhat.com> | ||||
* | New function chacha_set_nonce96. | Niels Möller | 2015-01-30 | 1 | -0/+9 |
| | |||||
* | Update copyright headers for dual licensing. | Niels Möller | 2014-04-12 | 1 | -26/+34 |
| | |||||
* | Renamed chacha_set_iv to chacha_set_nonce. | Niels Möller | 2014-02-10 | 1 | -0/+53 |