crypto: twofish-x86_64-3way: fix ctr blocksize to 1
Subsystems (2)
PATCH 1/1 crypto: twofish-x86_64-3way: fix ctr blocksize to 1
Signed-off-by Jussi Kivilinna <[email protected]>
--- arch/x86/crypto/twofish_glue_3way.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/crypto/twofish_glue_3way.c +1 -1
@@ -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,
Quoted 1 line · Jussi Kivilinna
Signed-off-by Jussi Kivilinna <[email protected]>
Applied.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt