crypto: arm-aes - fix encryption of unaligned data
authorMikulas Patocka <mpatocka@redhat.com>
Fri, 25 Jul 2014 23:42:30 +0000 (19:42 -0400)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 28 Jul 2014 14:01:03 +0000 (22:01 +0800)
commitf3c400ef473e00c680ea713a66196b05870b3710
tree8ea3fa84ff78263bf88e8c9556d6b1dde1ec983e
parentf960d2093f29f0bc4e1df1fcefb993455620c0b5
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