projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fbe482
)
crypto: atmel-aes - Match cfb block size with generic implementation
author
Ryan Wanner
<Ryan.Wanner@microchip.com>
Tue, 28 Mar 2023 19:56:29 +0000
(12:56 -0700)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 6 Apr 2023 08:41:28 +0000
(16:41 +0800)
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>
drivers/crypto/atmel-aes.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/atmel-aes.c
b/drivers/crypto/atmel-aes.c
index
23d2854
..
143d33f
100644
(file)
--- 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,