crypto: chelsio - request to HW should wrap
authorAtul Gupta <atul.gupta@chelsio.com>
Thu, 10 May 2018 04:44:42 +0000 (10:14 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 May 2018 16:13:56 +0000 (00:13 +0800)
commit4c826fed675dfffd8485c5477b616d61d1ec9e9a
tree3dfddb3db51aaa69e57f728de9d03dffc6354640
parent7024e0da72cf4d9a385ffd0d859d9582b763f376
crypto: chelsio - request to HW should wrap

-Tx request and data is copied to HW Q in 64B desc, check for
end of queue and adjust the current position to start from
beginning before passing the additional request info.
-key context copy should check key length only
-Few reverse christmas tree correction

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