]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: testmgr - avoid overlap in chunked tests
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 5 Dec 2016 18:42:23 +0000 (18:42 +0000)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 26 Feb 2017 05:34:25 +0000 (21:34 -0800)
commit5bd0714281683d638a0875cc55a3fdd1c97930b8
tree49bf73d85216ad9f51e50453b56da3654370b88a
parent336c788e695ae1bbdea0e3215125b77d4a7bdc0c
crypto: testmgr - avoid overlap in chunked tests

Orabug: 25243093

The IDXn offsets are chosen such that tap values (which may go up to
255) end up overlapping in the xbuf allocation. In particular, IDX1
and IDX3 are too close together, so update IDX3 to avoid this issue.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from commit 7e4c7f17cde280079db731636175b1732be7188c)
Signed-off-by: Ethan Zhao <ethan.zhao@oracle.com>
crypto/testmgr.c