mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
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>
This commit is contained in:
parent
6af1f93e2a
commit
e5d8c961c5
1 changed files with 1 additions and 1 deletions
|
@ -1069,7 +1069,7 @@ static struct crypto_alg aes_algs[] = {
|
||||||
.cra_driver_name = "atmel-cfb8-aes",
|
.cra_driver_name = "atmel-cfb8-aes",
|
||||||
.cra_priority = 100,
|
.cra_priority = 100,
|
||||||
.cra_flags = CRYPTO_ALG_TYPE_ABLKCIPHER | CRYPTO_ALG_ASYNC,
|
.cra_flags = CRYPTO_ALG_TYPE_ABLKCIPHER | CRYPTO_ALG_ASYNC,
|
||||||
.cra_blocksize = CFB64_BLOCK_SIZE,
|
.cra_blocksize = CFB8_BLOCK_SIZE,
|
||||||
.cra_ctxsize = sizeof(struct atmel_aes_ctx),
|
.cra_ctxsize = sizeof(struct atmel_aes_ctx),
|
||||||
.cra_alignmask = 0x0,
|
.cra_alignmask = 0x0,
|
||||||
.cra_type = &crypto_ablkcipher_type,
|
.cra_type = &crypto_ablkcipher_type,
|
||||||
|
|
Loading…
Reference in a new issue