crypto: testmgr - use chunks smaller than algo block size in chunk tests
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Sun, 27 Jul 2014 17:18:50 +0000 (19:18 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 1 Aug 2014 14:36:11 +0000 (22:36 +0800)
commit3b9b8fe0ade1ee84ee4058261d2e39a1f283704b
treed7b818afca71c30af2f6834d84f1b3322506296c
parent4f74c3989b14338544b65360ca4f8587c63d7fd9
crypto: testmgr - use chunks smaller than algo block size in chunk tests

This patch updates many of the chunked tcrypt test cases so that not all of the
chunks are an exact multiple of the block size. This should help uncover cases
where the residue passed to blkcipher_walk_done() is incorrect.

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