Eric Biggers f17f9e9069 crypto: testmgr - test in-place en/decryption with two sglists
As was established in the thread
https://lore.kernel.org/linux-crypto/20220223080400.139367-1-gilad@benyossef.com/T/#u,
many crypto API users doing in-place en/decryption don't use the same
scatterlist pointers for the source and destination, but rather use
separate scatterlists that point to the same memory.  This case isn't
tested by the self-tests, resulting in bugs.

This is the natural usage of the crypto API in some cases, so requiring
API users to avoid this usage is not reasonable.

Therefore, update the self-tests to start testing this case.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2022-04-08 16:25:19 +08:00
..
2022-03-03 10:49:20 +12:00
2020-08-28 16:58:28 +10:00
2022-03-03 10:49:20 +12:00
2021-03-26 19:55:55 +11:00
2022-02-18 16:21:08 +11:00
2020-02-28 08:43:21 +08:00
2021-08-21 15:44:58 +08:00
2022-03-03 10:49:20 +12:00
2022-04-08 16:12:46 +08:00
2022-03-26 12:01:35 -07:00
2022-02-18 16:21:08 +11:00
2021-11-08 16:55:21 -08:00