boringssl/util
David Benjamin d7166d07ad Add a standalone ChaCha test.
The coverage tool revealed that we weren't testing all codepaths of the ChaCha
assembly. Add a standalone test as it's much easier to iterate over all lengths
when there isn't the entire AEAD in the way.

I wasn't able to find a really long test vector, so I generated a random one
with the Go implementation we have in runner.

This test gives us full coverage on the ChaCha20_ssse3 variant. (We'll see how
it fares on the other codepaths when the multi-variant test harnesses get in. I
certainly hope there isn't a more novel way to call ChaCha20 than this...)

Change-Id: I087e421c7351f46ea65dacdc7127e4fbf5f4c0aa
Reviewed-on: https://boringssl-review.googlesource.com/7299
Reviewed-by: Adam Langley <agl@google.com>
2016-03-04 19:11:03 +00:00
..
bot Chromium's update.sh is dead, long live update.py 2015-12-16 17:30:31 +00:00
32-bit-toolchain.cmake Inital import. 2014-06-20 13:17:32 -07:00
all_tests.go Adding scripts to generate line coverage. 2016-03-03 23:33:48 +00:00
all_tests.json Add a standalone ChaCha test. 2016-03-04 19:11:03 +00:00
doc.config Add X25519 and Ed25519 support. 2015-11-17 21:56:12 +00:00
doc.css Inital import. 2014-06-20 13:17:32 -07:00
doc.go Have doc.go parse struct comments. 2016-01-26 23:23:23 +00:00
generate_build_files.py Enable upstream's Poly1305 code. 2016-02-26 16:05:14 +00:00
generate-asm-lcov.py Adding scripts to generate line coverage. 2016-03-03 23:33:48 +00:00
generate-coverage.sh Adding scripts to generate line coverage. 2016-03-03 23:33:48 +00:00
make_errors.go Markdown-ify BUILDING. 2015-09-03 18:38:21 +00:00