summaryrefslogtreecommitdiff
path: root/testsuite/chacha-test.c
Commit message (Collapse)AuthorAgeFilesLines
* Improve chacha test coverage.Niels Möller2021-02-101-254/+492
|
* Delete name mangling of internal Chacha symbolsNiels Möller2020-11-301-3/+3
|
* Additional chacha test, with simpler input structure.Niels Möller2020-07-111-0/+86
|
* Delete obsolete tests for chacha with 128-bit keysNiels Möller2020-07-111-241/+0
|
* chacha: add variant that treats counter value as 32-bitDaiki Ueno2020-03-091-4/+30
| | | | | | | | | | | 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 counterDaiki Ueno2020-03-091-2/+35
| | | | | | | | | | | 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>
* abi: explicitly export intended symbols and hide othersNikos Mavrogiannopoulos2018-07-071-0/+1
| | | | | | | | | | | | | This adds all exported symbols in the map files explicitly under the following rules: - Symbols mentioned in internal headers go in a section which is valid only for testing, and linking with these symbols will break in library updates. - Symbols mentioned in installed headers go in the exported sections and are considered part of the ABI. - All internal symbols move to internal headers. - The _nettle_md5_compress and _nettle_sha1_compress become exported without the _nettle prefix, due to existing usage.
* New function chacha_set_nonce96.Niels Möller2015-01-301-3/+24
|
* Update copyright headers for dual licensing, testsuite directory.Niels Möller2014-04-121-24/+32
|
* Additional tests for 256-bit chacha keys.Niels Möller2014-03-041-1/+159
|
* Renamed chacha256_set_key to chacha_set_key.Niels Möller2014-03-041-1/+2
|
* Drop support for 128-bit chacha keys.Niels Möller2014-03-041-9/+16
|
* Renamed chacha_set_iv to chacha_set_nonce.Niels Möller2014-02-101-4/+4
|
* Improved chacha tests.Niels Möller2014-02-081-36/+142
|
* Whitespace fixes.Niels Möller2014-01-271-11/+12
|
* Implemented chacha, based on contribution by Joachim Strömbergson.Niels Möller2014-01-271-0/+344