]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: chcr - ESN for Inline IPSec Tx
authorAtul Gupta <atul.gupta@chelsio.com>
Fri, 30 Nov 2018 09:02:09 +0000 (14:32 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 7 Dec 2018 06:15:01 +0000 (14:15 +0800)
commit0fd466cf4846b6635bbb95d3f0c240ce0a29731d
tree9dc150c535b4e4d35b0740f607bc56d8a14fe4f6
parent0e00d42d0749444a022907c28fe70ee585f0755c
crypto: chcr - ESN for Inline IPSec Tx

Send SPI, 64b seq nos and 64b IV with aadiv drop for inline crypto.
This information is added in outgoing packet after the CPL TX PKT XT
and removed by hardware.
The aad, auth and cipher offsets are then adjusted for ESN enabled tunnel.

Signed-off-by: Atul Gupta <atul.gupta@chelsio.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chcr_core.h
drivers/crypto/chelsio/chcr_ipsec.c