mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
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>
This commit is contained in:
parent
9a97ffd49c
commit
7e4c7f17cd
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user