aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data/stream/chacha.vec
Commit message (Collapse)AuthorAgeFilesLines
* Add a couple more ChaCha testsJack Lloyd2019-01-311-0/+9
|
* Add ChaCha using SIMD_4x32Jack Lloyd2018-11-041-0/+36
| | | | | | | | | | | This allows supporting SSE2, NEON and AltiVec in a single codebase, so drop the NEON and SSE2 code. This new impl avoids having to do shuffles with every round and so is about 10% faster on Skylake. Also, fix bugs in both baseline and AVX2 implementations when the low counter overflowed. The SSE2 and NEON code were also buggy here.
* Correct order of CPUID bit clearingsJack Lloyd2018-08-261-1/+1
| | | | | | These are done from left to right, so should end with most widely implement extensions. Noticed because adding AVX2 ChaCha caused SSE2 ChaCha to be no longer tested.
* Add AVX2 version of ChaChaJack Lloyd2018-08-261-1/+1
|
* Add support for XChaChaJack Lloyd2018-08-071-0/+19
|
* Fix RC4 name in case of skipped bytesJack Lloyd2017-12-281-1/+0
| | | | | | | | | | Add a test to detect that. Add test that stream ciphers throw if they are asked to use a nonce of a size they don't support. Remove "In = 00...00" blocks since that's implicit in the stream cipher tests.
* Support zero-length IV in ChaChaJack Lloyd2017-02-021-0/+3
| | | | Equivalent to an 8 byte all-zero IV, same handling as Salsa.
* Add cpuid overload to test frameworkJack Lloyd2016-09-151-0/+3
|
* No need for long all-zero input after cd9f852Jack Lloyd2016-09-051-1/+0
|
* Merge GH #616 ChaCha SSE2 optimizationsJack Lloyd2016-09-051-0/+8
|\
| * Missing increment in SSE2 version, broke ChaCha20Poly1305 testsJack Lloyd2016-09-011-0/+8
| | | | | | | | But not any ChaCha20 tests due to no long test inputs. Add one.
* | Let the input arg to stream cipher test be optional.Jack Lloyd2016-09-011-93/+0
|/ | | | | | If ommitted, assume an all zero input. Remove some In = 0000... from test files.
* Adding StreamCipher::seek interface, supporting seek in ChaCha, and also ↵SimCog2016-06-181-0/+506
| | | | adding ChaCha8 support
* Add support for ChaCha(12)Jack Lloyd2016-04-091-1/+16
|
* Support 96 bit nonces in ChaCha20 as specified in ↵lloyd2014-12-291-0/+9
| | | | draft-irtf-cfrg-chacha20-poly1305-03
* Add ChaChalloyd2014-01-311-0/+26