diff options
author | Ryan Wanner <Ryan.Wanner@microchip.com> | 2023-03-28 12:56:29 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-04-06 16:41:28 +0800 |
commit | e93c60851ba1ee28324445c34af7e3dea8aee9f3 (patch) | |
tree | b09805899e0cb4dd85f8f268280009c1aa9722a3 /drivers | |
parent | 2fbe4829f758e0b588470fb53f6cd087fe92b8d3 (diff) | |
download | linux-stable-e93c60851ba1ee28324445c34af7e3dea8aee9f3.tar.gz linux-stable-e93c60851ba1ee28324445c34af7e3dea8aee9f3.tar.bz2 linux-stable-e93c60851ba1ee28324445c34af7e3dea8aee9f3.zip |
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')
-rw-r--r-- | drivers/crypto/atmel-aes.c | 2 |
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, |