projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ba34e7
)
crypto: talitos - fix CTR alg blocksize
author
Christophe Leroy
<christophe.leroy@c-s.fr>
Tue, 21 May 2019 13:34:11 +0000
(13:34 +0000)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 30 May 2019 07:30:04 +0000
(15:30 +0800)
CTR has a blocksize of 1.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Fixes: 5e75ae1b3cef ("crypto: talitos - add new crypto modes")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/talitos.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/talitos.c
b/drivers/crypto/talitos.c
index 95f71e18bf558f6b4b55b57ea928ac4be1853878..8b9a529f1b6685e6a4b6c19f670794f7bf4b4ca9 100644
(file)
--- a/
drivers/crypto/talitos.c
+++ b/
drivers/crypto/talitos.c
@@
-2822,7
+2822,7
@@
static struct talitos_alg_template driver_algs[] = {
.alg.crypto = {
.cra_name = "ctr(aes)",
.cra_driver_name = "ctr-aes-talitos",
- .cra_blocksize =
AES_BLOCK_SIZE
,
+ .cra_blocksize =
1
,
.cra_flags = CRYPTO_ALG_TYPE_ABLKCIPHER |
CRYPTO_ALG_ASYNC,
.cra_ablkcipher = {