crypto: vmx - IV size failing on skcipher API

[ Upstream commit 0d3d054b43 ]

IV size was zero on CBC and CTR modes,
causing a bug triggered by skcipher.

Fixing this  adding a correct size.

Signed-off-by: Leonidas Da Silva Barbosa <leosilva@linux.vnet.ibm.com>
Signed-off-by: Paulo Smorigo <pfsmorigo@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Leonidas Da Silva Barbosa 2016-06-27 09:12:02 -06:00 • committed by Greg Kroah-Hartman
commit 3d390b83a9
2 changed files with 2 additions and 2 deletions