]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7a523d2359b30d0684d0d4d3467b38d3b402e93f
treefeb81db64518c27c77570fee471f84b99cd44253
parent6bfe1380bf91296c000b1ea35a69c7ed2d5a1d63
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