From: Ard Biesheuvel Date: Mon, 5 Dec 2016 18:42:23 +0000 (+0000) Subject: crypto: testmgr - avoid overlap in chunked tests X-Git-Tag: v4.1.12-92~3^2~261 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=5bd0714281683d638a0875cc55a3fdd1c97930b8;p=users%2Fjedix%2Flinux-maple.git 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 Signed-off-by: Herbert Xu (cherry picked from commit 7e4c7f17cde280079db731636175b1732be7188c) Signed-off-by: Ethan Zhao --- diff --git a/crypto/testmgr.c b/crypto/testmgr.c index fae546cd60aff..2c12e42c25d81 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -54,7 +54,7 @@ int alg_test(const char *driver, const char *alg, u32 type, u32 mask) */ #define IDX1 32 #define IDX2 32400 -#define IDX3 1 +#define IDX3 511 #define IDX4 8193 #define IDX5 22222 #define IDX6 17101