crypto: chcr - Add ctr mode and process large sg entries for cipher
authorHarsh Jain <harsh@chelsio.com>
Thu, 15 Jun 2017 07:13:43 +0000 (12:43 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 20 Jun 2017 03:21:35 +0000 (11:21 +0800)
commitb8fd1f4170e7e8bda45d7bcc750e909c859ec714
treeed3805bce0ae00492bc44acafea3f3fa24516584
parentd600fc8aae746de71631b52ff40d02cf90dd3b74
crypto: chcr - Add ctr mode and process large sg entries for cipher

It send multiple WRs to H/W to handle large sg lists. Adds ctr(aes)
and rfc(ctr(aes)) modes.

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_core.c
drivers/crypto/chelsio/chcr_core.h
drivers/crypto/chelsio/chcr_crypto.h