Re: [PATCH] crypto: testmgr - fix length truncation with large page size

2019-05-30 Thread Herbert Xu
On Mon, May 20, 2019 at 09:47:19AM -0700, Eric Biggers wrote: > From: Eric Biggers > > On PowerPC with CONFIG_CRYPTO_MANAGER_EXTRA_TESTS=y, there is sometimes > a crash in generate_random_aead_testvec(). The problem is that the > generated test vectors use data lengths of up to about 2 * PAGE_SI

[PATCH] crypto: testmgr - fix length truncation with large page size

2019-05-20 Thread Eric Biggers
From: Eric Biggers On PowerPC with CONFIG_CRYPTO_MANAGER_EXTRA_TESTS=y, there is sometimes a crash in generate_random_aead_testvec(). The problem is that the generated test vectors use data lengths of up to about 2 * PAGE_SIZE, which is 128 KiB on PowerPC; however, the data length fields in the