summaryrefslogtreecommitdiff
path: root/drivers/crypto
diff options
context:
space:
mode:
authorRyan Wanner <Ryan.Wanner@microchip.com>2023-03-28 22:56:29 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-04-06 11:41:28 +0300
commite93c60851ba1ee28324445c34af7e3dea8aee9f3 (patch)
treeb09805899e0cb4dd85f8f268280009c1aa9722a3 /drivers/crypto
parent2fbe4829f758e0b588470fb53f6cd087fe92b8d3 (diff)
downloadlinux-e93c60851ba1ee28324445c34af7e3dea8aee9f3.tar.xz
crypto: atmel-aes - Match cfb block size with generic implementation
Change blocksize to match the cfb(aes) generic implementation. Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/atmel-aes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/atmel-aes.c b/drivers/crypto/atmel-aes.c
index 23d285439806..143d33fbb316 100644
--- a/drivers/crypto/atmel-aes.c
+++ b/drivers/crypto/atmel-aes.c
@@ -1335,7 +1335,7 @@ static struct skcipher_alg aes_algs[] = {
{
.base.cra_name = "cfb(aes)",
.base.cra_driver_name = "atmel-cfb-aes",
- .base.cra_blocksize = AES_BLOCK_SIZE,
+ .base.cra_blocksize = 1,
.base.cra_ctxsize = sizeof(struct atmel_aes_ctx),
.init = atmel_aes_init_tfm,