aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/crypto/twofish_glue_3way.c
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2011-10-10 05:33:02 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2011-10-21 08:28:57 -0400
commit906b2c9f2d9f395f5ca01b855b7c74b126517816 (patch)
tree50df3571adb595a9547cb0f0e4c00e931e8088ba /arch/x86/crypto/twofish_glue_3way.c
parenta516ebafdf231702b7461cab562c7fe328ef972b (diff)
crypto: twofish-x86_64-3way - fix ctr blocksize to 1
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/x86/crypto/twofish_glue_3way.c')
-rw-r--r--arch/x86/crypto/twofish_glue_3way.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/crypto/twofish_glue_3way.c b/arch/x86/crypto/twofish_glue_3way.c
index 0cbf9faea86a..5ede9c444c3e 100644
--- a/arch/x86/crypto/twofish_glue_3way.c
+++ b/arch/x86/crypto/twofish_glue_3way.c
@@ -414,7 +414,7 @@ static struct crypto_alg blk_ctr_alg = {
414 .cra_driver_name = "ctr-twofish-3way", 414 .cra_driver_name = "ctr-twofish-3way",
415 .cra_priority = 300, 415 .cra_priority = 300,
416 .cra_flags = CRYPTO_ALG_TYPE_BLKCIPHER, 416 .cra_flags = CRYPTO_ALG_TYPE_BLKCIPHER,
417 .cra_blocksize = TF_BLOCK_SIZE, 417 .cra_blocksize = 1,
418 .cra_ctxsize = sizeof(struct twofish_ctx), 418 .cra_ctxsize = sizeof(struct twofish_ctx),
419 .cra_alignmask = 0, 419 .cra_alignmask = 0,
420 .cra_type = &crypto_blkcipher_type, 420 .cra_type = &crypto_blkcipher_type,