diff options
author | Leilei Zhao <leilei.zhao@atmel.com> | 2014-04-22 03:23:23 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-04-28 06:21:19 -0400 |
commit | e5d8c961c52f6324fa15f9f7c1b76f409e759b96 (patch) | |
tree | 91e99133d370bc743ed2fe31d29f93d0f3d25bf8 /drivers/crypto/atmel-aes.c | |
parent | 6af1f93e2a0192fb1efbe82a5fef53d71cbe218b (diff) |
crypto: atmel-aes - correct block size of cfb8 mode
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>
Diffstat (limited to 'drivers/crypto/atmel-aes.c')
-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 d7c9e317423c..12628a75fbcc 100644 --- a/drivers/crypto/atmel-aes.c +++ b/drivers/crypto/atmel-aes.c | |||
@@ -1069,7 +1069,7 @@ static struct crypto_alg aes_algs[] = { | |||
1069 | .cra_driver_name = "atmel-cfb8-aes", | 1069 | .cra_driver_name = "atmel-cfb8-aes", |
1070 | .cra_priority = 100, | 1070 | .cra_priority = 100, |
1071 | .cra_flags = CRYPTO_ALG_TYPE_ABLKCIPHER | CRYPTO_ALG_ASYNC, | 1071 | .cra_flags = CRYPTO_ALG_TYPE_ABLKCIPHER | CRYPTO_ALG_ASYNC, |
1072 | .cra_blocksize = CFB64_BLOCK_SIZE, | 1072 | .cra_blocksize = CFB8_BLOCK_SIZE, |
1073 | .cra_ctxsize = sizeof(struct atmel_aes_ctx), | 1073 | .cra_ctxsize = sizeof(struct atmel_aes_ctx), |
1074 | .cra_alignmask = 0x0, | 1074 | .cra_alignmask = 0x0, |
1075 | .cra_type = &crypto_ablkcipher_type, | 1075 | .cra_type = &crypto_ablkcipher_type, |