summaryrefslogtreecommitdiffstats
path: root/crypto/algif_skcipher.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-12-08 08:23:52 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2016-12-08 20:14:59 +0800
commit04b46fbdea5e31ffd745a34fa61269a69ba9f47a (patch)
tree997e80c7fd05c8826eb390e658664c5eccb7116c /crypto/algif_skcipher.c
parentd0a3431a7bbdf8f66d2d7a8fbf0233f3b325fcab (diff)
downloadlinux-04b46fbdea5e31ffd745a34fa61269a69ba9f47a.tar.bz2
crypto: testmgr - fix overlap in chunked tests again
Commit 7e4c7f17cde2 ("crypto: testmgr - avoid overlap in chunked tests") attempted to address a problem in the crypto testmgr code where chunked test cases are copied to memory in a way that results in overlap. However, the fix recreated the exact same issue for other chunked tests, by putting IDX3 within 492 bytes of IDX1, which causes overlap if the first chunk exceeds 492 bytes, which is the case for at least one of the xts(aes) test cases. So increase IDX3 by another 1000 bytes. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algif_skcipher.c')
0 files changed, 0 insertions, 0 deletions