crypto: twofish-x86_64-3way - fix ctr blocksize to 1
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Mon, 10 Oct 2011 09:33:02 +0000 (12:33 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Oct 2011 12:28:57 +0000 (14:28 +0200)
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/twofish_glue_3way.c

index 0cbf9faea86ac8f5caa6af40c7f62c7bd4816335..5ede9c444c3e758a67ac5d970d786f54a3775cc8 100644 (file)
@@ -414,7 +414,7 @@ static struct crypto_alg blk_ctr_alg = {
        .cra_driver_name        = "ctr-twofish-3way",
        .cra_priority           = 300,
        .cra_flags              = CRYPTO_ALG_TYPE_BLKCIPHER,
-       .cra_blocksize          = TF_BLOCK_SIZE,
+       .cra_blocksize          = 1,
        .cra_ctxsize            = sizeof(struct twofish_ctx),
        .cra_alignmask          = 0,
        .cra_type               = &crypto_blkcipher_type,