crypto: vmx - Fixing AES-CTR counter bug
authorLeonidas Da Silva Barbosa <leosilva@linux.vnet.ibm.com>
Fri, 14 Aug 2015 13:12:22 +0000 (10:12 -0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 18 Aug 2015 02:30:35 +0000 (10:30 +0800)
commit1d4aa0b4c1816e8ca92a6aadb0d8f6b43c56c0d0
tree32d1c470faed45f5e9c4aab679afdbe0615b997e
parentdd43c4e92fbb135dcbf02845578db60be56a453a
crypto: vmx - Fixing AES-CTR counter bug

AES-CTR is using a counter 8bytes-8bytes what miss match with
kernel specs.

In the previous code a vadduwm was done to increment counter.
Replacing this for a vadduqm now considering both cases counter
8-8 bytes and full 16bytes.

Cc: stable@vger.kernel.org
Signed-off-by: Leonidas S Barbosa <leosilva@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/vmx/aes_ctr.c
drivers/crypto/vmx/aesp8-ppc.pl