Commit a516ebaf authored by Jussi Kivilinna's avatar Jussi Kivilinna Committed by Herbert Xu

crypto: blowfish-x86_64 - fix ctr blocksize to 1

Signed-off-by: default avatarJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent ac4385d2
...@@ -428,7 +428,7 @@ static struct crypto_alg blk_ctr_alg = { ...@@ -428,7 +428,7 @@ static struct crypto_alg blk_ctr_alg = {
.cra_driver_name = "ctr-blowfish-asm", .cra_driver_name = "ctr-blowfish-asm",
.cra_priority = 300, .cra_priority = 300,
.cra_flags = CRYPTO_ALG_TYPE_BLKCIPHER, .cra_flags = CRYPTO_ALG_TYPE_BLKCIPHER,
.cra_blocksize = BF_BLOCK_SIZE, .cra_blocksize = 1,
.cra_ctxsize = sizeof(struct bf_ctx), .cra_ctxsize = sizeof(struct bf_ctx),
.cra_alignmask = 0, .cra_alignmask = 0,
.cra_type = &crypto_blkcipher_type, .cra_type = &crypto_blkcipher_type,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment