]> 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)
commit25b351f9ed969dd01b1644e58ee78d1bd43a10b8
tree9dc150c535b4e4d35b0740f607bc56d8a14fe4f6
parenta9be41aa0879c931679fc66fdb838e113b4daccf
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