crypto: arm-aes - fix encryption of unaligned data
authorMikulas Patocka <mpatocka@redhat.com>
Fri, 25 Jul 2014 23:42:30 +0000 (19:42 -0400)
committerIliyan Malchev <malchev@google.com>
Fri, 2 Jan 2015 20:36:58 +0000 (12:36 -0800)
commit0fd9b0f24a579f70547de2aa12f66a0fa13558fc
treea554e9a7fa57782179ea64901ec66434c6a1e2d5
parent06abd742a8657de597f6be838e7c1d46311b8ebb
crypto: arm-aes - fix encryption of unaligned data

Fix the same alignment bug as in arm64 - we need to pass residue
unprocessed bytes as the last argument to blkcipher_walk_done.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org # 3.13+
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm/crypto/aesbs-glue.c