2023-03-28 19:58:32

by Ryan.Wanner

[permalink] [raw]
Subject: [PATCH 4/4] crypto: atmel-aes - Match cfb block size with generic implementation

From: Ryan Wanner <[email protected]>

Change blocksize to match the cfb(aes) generic implementation.

Signed-off-by: Ryan Wanner <[email protected]>
---
drivers/crypto/atmel-aes.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/atmel-aes.c b/drivers/crypto/atmel-aes.c
index 08a923c2a0eb..012cdf60d9d2 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,
--
2.37.2