crypto: cavium/nitrox - Fix cbc ciphers self test failures
authorNagadheeraj Rottela <rnagadheeraj@marvell.com>
Tue, 17 Sep 2019 06:36:50 +0000 (06:36 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 4 Oct 2019 15:06:13 +0000 (01:06 +1000)
commitced0a170fd6ba70bd32082f1b876e215a6460e8c
tree4f3cc9371639c386338026974fe3a3be2e4f60b9
parent3fed9baad5fdaa4a1d174326f71f1952c7b66c04
crypto: cavium/nitrox - Fix cbc ciphers self test failures

Self test failures are due to wrong output IV. This patch fixes this
issue by copying back output IV into skcipher request.

Signed-off-by: Nagadheeraj Rottela <rnagadheeraj@marvell.com>
Reviewed-by: Srikanth Jampala <jsrikanth@marvell.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/cavium/nitrox/nitrox_req.h
drivers/crypto/cavium/nitrox/nitrox_skcipher.c