MLK-14611 Fix CBC mode support by returning a correct IV
authorRadu Solea <radu.solea@nxp.com>
Thu, 13 Apr 2017 12:22:41 +0000 (15:22 +0300)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:22:00 +0000 (15:22 -0500)
commite0b5fa5d49b082a5e8d1292e070e6f321cc2f6f0
tree38050012b20a843c303769def6ec269cf155ae59
parentb1d0d6bc4634444df694bd10bd42b5915389ec2f
MLK-14611 Fix CBC mode support by returning a correct IV

Current CBC mode does not return the last cyphertext block
as IV for operation chaining. CTS fails because of incorrect IV.

Signed-off-by: Radu Solea <radu.solea@nxp.com>
drivers/crypto/caam/caamalg.c