linux-stable/drivers/crypto/chelsio
Ayush Sawal fb90a1c85d Crypto/chcr: Calculate src and dst sg lengths separately for dma map
This patch calculates src and dst sg lengths separately for
dma mapping in case of aead operation.

This fixes a panic which occurs due to the accessing of a zero
length sg.
Panic:
[  138.173225] kernel BUG at drivers/iommu/intel-iommu.c:1184!

Signed-off-by: Ayush Sawal <ayush.sawal@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-06-10 17:05:02 -07:00
..
chtls crypto/chtls:Fix compile error when CONFIG_IPV6 is disabled 2020-06-04 16:02:29 -07:00
chcr_algo.c Crypto/chcr: Calculate src and dst sg lengths separately for dma map 2020-06-10 17:05:02 -07:00
chcr_algo.h crypto/chtls:Fix compile error when CONFIG_IPV6 is disabled 2020-06-04 16:02:29 -07:00
chcr_common.h chcr: Handle first or middle part of record 2020-03-08 21:16:23 -07:00
chcr_core.c cxgb4/chcr: Enable ktls settings at run time 2020-06-01 15:48:18 -07:00
chcr_core.h cxgb4/chcr: Enable ktls settings at run time 2020-06-01 15:48:18 -07:00
chcr_crypto.h Crypto/chcr: fix ctr, cbc, xts and rfc3686-ctr failed tests 2020-05-06 17:44:11 -07:00
chcr_ipsec.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-06-03 16:27:18 -07:00
chcr_ktls.c crypto/chcr: IPV6 code needs to be in CONFIG_IPV6 2020-06-01 15:49:00 -07:00
chcr_ktls.h cxgb4/chcr: Enable ktls settings at run time 2020-06-01 15:48:18 -07:00
Kconfig cxgb4/chcr : Register to tls add and del callback 2020-03-08 21:16:23 -07:00
Makefile cxgb4/chcr : Register to tls add and del callback 2020-03-08 21:16:23 -07:00