crypto: chelsio - Swap location of AAD and IV sent in WR
authorHarsh Jain <harsh@chelsio.com>
Tue, 11 Dec 2018 10:51:37 +0000 (16:21 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 23 Dec 2018 03:52:43 +0000 (11:52 +0800)
commit1f479e4cfd08f20e48dfde07b27e3180e0901252
treea719d3a72d3d54cd0129550d8509720e917547fe
parent3cc04c160208ec55940db652343d236515d88af5
crypto: chelsio - Swap location of AAD and IV sent in WR

Send input as IV | AAD | Data. It will allow sending IV as Immediate
Data and Creates space in Work request to add more dma mapped entries.

Signed-off-by: Harsh Jain <harsh@chelsio.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chcr_algo.c
drivers/crypto/chelsio/chcr_algo.h
drivers/crypto/chelsio/chcr_crypto.h