linux/drivers/crypto/chelsio
Rohit Maheshwari 429765a149 chcr: handle partial end part of a record
TCP segment can chop a record in any order. Record can either be
complete or it can be partial (first part which contains header,
middle part which doesn't have header or TAG, and the end part
which contains TAG. This patch handles partial end part of a tx
record. In case of partial end part's, driver will send complete
record to HW, so that HW will calculate GHASH (TAG) of complete
packet.
Also added support to handle multiple records in a segment.

v1->v2:
- miner change in calling chcr_write_cpl_set_tcb_ulp.
- no need of checking return value of chcr_ktls_write_tcp_options.

v3->v4:
- replaced kfree_skb with dev_kfree_skb_any.

Signed-off-by: Rohit Maheshwari <rohitm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-03-08 21:16:23 -07:00
..
chtls Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-01-28 16:02:33 -08:00
chcr_algo.c crypto: remove propagation of CRYPTO_TFM_RES_* flags 2020-01-09 11:30:53 +08:00
chcr_algo.h
chcr_common.h cxgb4/chcr: complete record tx handling 2020-03-08 21:16:23 -07:00
chcr_core.c cxgb4/chcr: complete record tx handling 2020-03-08 21:16:23 -07:00
chcr_core.h cxgb4/chcr: complete record tx handling 2020-03-08 21:16:23 -07:00
chcr_crypto.h
chcr_ipsec.c cxgb4/chcr: update SGL DMA unmap for USO 2019-11-22 16:44:39 -08:00
chcr_ktls.c chcr: handle partial end part of a record 2020-03-08 21:16:23 -07:00
chcr_ktls.h cxgb4/chcr: complete record tx handling 2020-03-08 21:16:23 -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