chcr: Add support for Inline IPSec
authorAtul Gupta <atul.gupta@chelsio.com>
Thu, 16 Nov 2017 11:27:08 +0000 (16:57 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 29 Nov 2017 06:33:29 +0000 (17:33 +1100)
commit6dad4e8ab3ec65c3b948ad79e83751cf0f04cbdf
treeb056846482f223e7a0b9f5ce41b82b47e882db71
parenta6ec572bfa7d529be78afbb703f8d9381954cdff
chcr: Add support for Inline IPSec

register xfrmdev_ops callbacks, Send IPsec tunneled data
to HW for inline processing.
The driver use hardware crypto accelerator to encrypt and
generate ICV for the transmitted packet in Inline mode.

Signed-off-by: Atul Gupta <atul.gupta@chelsio.com>
Signed-off-by: Harsh Jain <harsh@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/Kconfig
drivers/crypto/chelsio/Makefile
drivers/crypto/chelsio/chcr_algo.c
drivers/crypto/chelsio/chcr_algo.h
drivers/crypto/chelsio/chcr_core.c
drivers/crypto/chelsio/chcr_core.h
drivers/crypto/chelsio/chcr_crypto.h
drivers/crypto/chelsio/chcr_ipsec.c [new file with mode: 0644]