Commit 7e4c7f17 authored by Ard Biesheuvel's avatar Ard Biesheuvel Committed by Herbert Xu

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: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 9a97ffd4
...@@ -63,7 +63,7 @@ int alg_test(const char *driver, const char *alg, u32 type, u32 mask) ...@@ -63,7 +63,7 @@ int alg_test(const char *driver, const char *alg, u32 type, u32 mask)
*/ */
#define IDX1 32 #define IDX1 32
#define IDX2 32400 #define IDX2 32400
#define IDX3 1 #define IDX3 511
#define IDX4 8193 #define IDX4 8193
#define IDX5 22222 #define IDX5 22222
#define IDX6 17101 #define IDX6 17101
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment