crypto: vmx - IV size failing on skcipher API
authorLeonidas Da Silva Barbosa <leosilva@linux.vnet.ibm.com>
Mon, 30 Nov 2015 18:19:03 +0000 (16:19 -0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 4 Dec 2015 14:29:56 +0000 (22:29 +0800)
commit0d3d054b43719ef33232677ba27ba6097afdafbc
treebb3715a3c59630193b3dcacdee4cd333253953ec
parentf456cd2dc8578f989ef12964c11aa7b2fafbc319
crypto: vmx - IV size failing on skcipher API

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>
drivers/crypto/vmx/aes_cbc.c
drivers/crypto/vmx/aes_ctr.c