crypto: caam/qi - properly set IV after {en,de}crypt
authorHoria Geantă <horia.geanta@nxp.com>
Mon, 10 Jul 2017 05:40:30 +0000 (08:40 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 18 Jul 2017 10:16:02 +0000 (18:16 +0800)
commita68a193805224d90bedd94e9e8ac287600f07b78
treea9f871dd57ae87ea7583bcd2f012829315d3b1fd
parent1ed289f7b78c34565a33dbe6f8c482e71f493934
crypto: caam/qi - properly set IV after {en,de}crypt

caam/qi needs a fix similar to what was done for caam/jr in
commit "crypto: caam/qi - properly set IV after {en,de}crypt",
to allow for ablkcipher/skcipher chunking/streaming.

Cc: <stable@vger.kernel.org>
Fixes: b189817cf789 ("crypto: caam/qi - add ablkcipher and authenc algorithms")
Suggested-by: David Gstir <david@sigma-star.at>
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamalg_qi.c