]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: testmgr - add chunked test cases for chacha20
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 14 Aug 2017 13:28:15 +0000 (14:28 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 22 Aug 2017 06:45:48 +0000 (14:45 +0800)
commitd4270e28042ed9d12c07f68fd94f174dd1685f64
treea0160fca53266660375f18ea6ed79381739e0ba8
parent6b1ef1327255f92c7a30163cabca88622ecaf607
crypto: testmgr - add chunked test cases for chacha20

We failed to catch a bug in the chacha20 code after porting it to the
skcipher API. We would have caught it if any chunked tests had been
defined, so define some now so we will catch future regressions.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.h