projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6af1f93
)
crypto: atmel-aes - correct block size of cfb8 mode
author
Leilei Zhao
<leilei.zhao@atmel.com>
Tue, 22 Apr 2014 07:23:23 +0000
(15:23 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Mon, 28 Apr 2014 10:21:19 +0000
(18:21 +0800)
The block size of aes cfb8 mode shoule be 8 bit.
Signed-off-by: Leilei Zhao <leilei.zhao@atmel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/atmel-aes.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/crypto/atmel-aes.c
b/drivers/crypto/atmel-aes.c
index d7c9e317423cb2910e808571584ef3c4cd0bd84e..12628a75fbccebdc7a28cc7dd682ea60f1921f67 100644
(file)
--- a/
drivers/crypto/atmel-aes.c
+++ b/
drivers/crypto/atmel-aes.c
@@
-1069,7
+1069,7
@@
static struct crypto_alg aes_algs[] = {
.cra_driver_name = "atmel-cfb8-aes",
.cra_priority = 100,
.cra_flags = CRYPTO_ALG_TYPE_ABLKCIPHER | CRYPTO_ALG_ASYNC,
- .cra_blocksize = CFB
64
_BLOCK_SIZE,
+ .cra_blocksize = CFB
8
_BLOCK_SIZE,
.cra_ctxsize = sizeof(struct atmel_aes_ctx),
.cra_alignmask = 0x0,
.cra_type = &crypto_ablkcipher_type,