crypto: atmel-aes - fix atmel-ctr-aes driver for RFC 3686
authorCyrille Pitchen <cyrille.pitchen@atmel.com>
Thu, 17 Dec 2015 17:13:04 +0000 (18:13 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 23 Dec 2015 10:19:57 +0000 (18:19 +0800)
commitda7b850edb68ab6e3e3cc8593c6ce2c577b6b61c
tree097ae80246c23a0f5b2761344f946facb3a7dd09
parente37a7e55505176ae83d376585c2ebd37d4258910
crypto: atmel-aes - fix atmel-ctr-aes driver for RFC 3686

crypto_rfc3686_alloc() in crypto/ctr.c expects to be used with a stream
cipher (alg->cra_blocksize == 1).

Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/atmel-aes.c