summaryrefslogtreecommitdiff
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-12-05 18:42:23 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2016-12-07 20:01:13 +0800
commitb14dcb7c30a61018c7cc6ca82688265525961c4b (patch)
tree3784cff620c4699291a97e562bff153a4e5f5773 /crypto/testmgr.c
parent37b19e4e063f0b3c5c6721f5ee36efc8cac5156f (diff)
downloadlinux-crypto-b14dcb7c30a61018c7cc6ca82688265525961c4b.tar.gz
linux-crypto-b14dcb7c30a61018c7cc6ca82688265525961c4b.zip
crypto: testmgr - avoid overlap in chunked tests
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>
Diffstat (limited to '')
-rw-r--r--crypto/testmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index 67e68c0f..7eb423f0 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -63,7 +63,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