crypto: atmel-aes - check alignment of cfb64 mode
authorLeilei Zhao <leilei.zhao@atmel.com>
Tue, 22 Apr 2014 07:23:24 +0000 (15:23 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 28 Apr 2014 10:21:19 +0000 (18:21 +0800)
commit9f84951fc6f30eff20567632131c38725705753d
treed49ac2c03a1adaf10592a4c31120633b5df5053e
parente5d8c961c52f6324fa15f9f7c1b76f409e759b96
crypto: atmel-aes - check alignment of cfb64 mode

The length shoule be 64 bit alignment and the block size shoule be 64 bit in aes cfb64 mode.

Signed-off-by: Leilei Zhao <leilei.zhao@atmel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/atmel-aes.c