]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit00f24e740c8f4b2715048d882962b12008930f31
tree4f3cc9371639c386338026974fe3a3be2e4f60b9
parentf317608bedf293189b1e3c3962da266029630da1
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