crypto: chcr - Pass lcb bit setting to firmware
authorHarsh Jain <harsh@chelsio.com>
Thu, 15 Jun 2017 07:13:39 +0000 (12:43 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 20 Jun 2017 03:21:33 +0000 (11:21 +0800)
commit2512a62414235be0cf4c2529f468546c57b96f60
tree53012bf4092d68dd18f9bd21e9592b15e8861b8c
parent7c742df55035ce566b2ca7d4125d1202d41a99f3
crypto: chcr - Pass lcb bit setting to firmware

GCM and CBC mode of operation requires Last Cipher Block.
This patch set lcb bit in WR header when required.

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