]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit82fedfc90e45d7d2ee93aea3549a931f1b12c500
treed7b818afca71c30af2f6834d84f1b3322506296c
parent78f22f381064e436e640396505e41300f5ad2884
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