aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data/stream
Commit message (Collapse)AuthorAgeFilesLines
* Support seeking in Salsa20Jack Lloyd2017-11-141-0/+24
| | | | Add a test that StreamCipher::seek throws if not keyed.
* Allow setting CTR width via stringJack Lloyd2017-10-201-0/+18
| | | | | | | | | Prohibit very small counter widths (under 4 bytes), since they lead to trivial keystream reuse. Add tests. Fix clone which always returned an object with a block-wide counter.
* Handle IV carryover in CBC, CFB, and stream ciphersJack Lloyd2017-05-131-0/+5
| | | | | | Allow an empty nonce to mean "continue using the current cipher state". GH #864
* add test sets for CTR-BE(***)René Meusel2017-04-131-0/+2810
|
* Support zero-length IV in ChaChaJack Lloyd2017-02-021-0/+3
| | | | Equivalent to an 8 byte all-zero IV, same handling as Salsa.
* Add SHAKE-128 as stream cipherJack Lloyd2016-10-191-0/+3379
| | | | | Updates NewHope to use that instead of the hard-coded SHAKE-128, and adds toggle for BoringSSL compat mode using AES-128/CTR + SHA-256.
* 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.
* | Remove deprecated ciphers MARS, RC2, RC5, RC6, SAFER-SK and TEAJack Lloyd2016-09-021-286/+0
| | | | | | | | | | XTEA was also deprecated but has been spared, it does seem to be somewhat common (eg, included in the Go x/crypto library)
* | Let the input arg to stream cipher test be optional.Jack Lloyd2016-09-012-96/+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-313-13/+39
|
* Split up test vectors into per-algo files and app into botan-test forlloyd2014-01-104-0/+2985
the tests and botan for everything else.