diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2011-10-10 11:32:15 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2011-10-21 14:28:57 +0200 |
commit | a516ebafdf231702b7461cab562c7fe328ef972b (patch) | |
tree | c45538543f4965d7dd3f4e36c3502dfe376c01c7 | |
parent | crypto: whirlpool - count rounds from 0 (diff) | |
download | linux-a516ebafdf231702b7461cab562c7fe328ef972b.tar.xz linux-a516ebafdf231702b7461cab562c7fe328ef972b.zip |
crypto: blowfish-x86_64 - fix ctr blocksize to 1
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r-- | arch/x86/crypto/blowfish_glue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/crypto/blowfish_glue.c b/arch/x86/crypto/blowfish_glue.c index 2568a7b71630..b05aa163d55a 100644 --- a/arch/x86/crypto/blowfish_glue.c +++ b/arch/x86/crypto/blowfish_glue.c @@ -428,7 +428,7 @@ static struct crypto_alg blk_ctr_alg = { .cra_driver_name = "ctr-blowfish-asm", .cra_priority = 300, .cra_flags = CRYPTO_ALG_TYPE_BLKCIPHER, - .cra_blocksize = BF_BLOCK_SIZE, + .cra_blocksize = 1, .cra_ctxsize = sizeof(struct bf_ctx), .cra_alignmask = 0, .cra_type = &crypto_blkcipher_type, |