summaryrefslogtreecommitdiff
path: root/crypto/crct10dif_common.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2022-03-26 00:11:59 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2022-04-08 16:25:19 +0800
commitd9d886ded1ae18eee5fe4fd8d6706d85e81806ac (patch)
treeeed4d97c119a09a8c06b0ed664c028a0f93ca459 /crypto/crct10dif_common.c
parent364b0ae890c7669c17e256c72581f2ea9579e237 (diff)
downloadlinux-crypto-d9d886ded1ae18eee5fe4fd8d6706d85e81806ac.tar.gz
linux-crypto-d9d886ded1ae18eee5fe4fd8d6706d85e81806ac.zip
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>
Diffstat (limited to 'crypto/crct10dif_common.c')
0 files changed, 0 insertions, 0 deletions