crypto: testmgr - Add a longer ChaCha20 test vector
authorMartin Willi <martin@strongswan.org>
Thu, 16 Jul 2015 17:14:04 +0000 (19:14 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 17 Jul 2015 13:20:26 +0000 (21:20 +0800)
commit6692cbc28e88b4cbffaab84b82bfff888c03ed3a
treead6d0bbb3102922fecaa74d5c3793c3909f5544e
parent3d1e93cdf16cfe6f315167c65dc504e467e4681a
crypto: testmgr - Add a longer ChaCha20 test vector

The AVX2 variant of ChaCha20 is used only for messages with >= 512 bytes
length. With the existing test vectors, the implementation could not be
tested. Due that lack of such a long official test vector, this one is
self-generated using chacha20-generic.

Signed-off-by: Martin Willi <martin@strongswan.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.h