aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThara Gopinath <thara.gopinath@linaro.org>2021-05-20 22:20:23 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2021-05-28 15:11:45 +0800
commit1339a7c3ba05137a2d2fe75f602311bbfc6fab33 (patch)
treed4f32635cd154120c2dc5140ebef144cf546e2f1 /tools/perf/scripts/python
parentcrypto: DRBG - switch to HMAC SHA512 DRBG as default DRBG (diff)
downloadlinux-1339a7c3ba05137a2d2fe75f602311bbfc6fab33.tar.gz
linux-1339a7c3ba05137a2d2fe75f602311bbfc6fab33.zip
crypto: qce: skcipher: Fix incorrect sg count for dma transfers
Use the sg count returned by dma_map_sg to call into dmaengine_prep_slave_sg rather than using the original sg count. dma_map_sg can merge consecutive sglist entries, thus making the original sg count wrong. This is a fix for memory coruption issues observed while testing encryption/decryption of large messages using libkcapi framework. Patch has been tested further by running full suite of tcrypt.ko tests including fuzz tests. Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions