crypto: chelsio - count incomplete block in IV
authorAtul Gupta <atul.gupta@chelsio.com>
Thu, 2 May 2019 10:47:57 +0000 (03:47 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 9 May 2019 05:17:23 +0000 (13:17 +0800)
commit0a4491d3febe0b8c328870d1909fc91756970237
treefeb81db64518c27c77570fee471f84b99cd44253
parent33ddc108c5a1cfba72a08a92f35a0ba5bbd1cfd8
crypto: chelsio - count incomplete block in IV

The partial block should count as one and appropriately appended
to IV. eg 499B for AES CTR should count 32 block than 31 and
correct count value is updated in iv out.

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