Re: [PATCH 2/4] Twofish cipher - priority fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Updated patch due to the new twofish_common patch

Signed-off-by: Joachim Fritschi <[email protected]>

diff -uprN linux-2.6.17-rc5.twofish/crypto/twofish.c linux-2.6.17-rc5.twofish2/crypto/twofish.c
--- linux-2.6.17-rc5.twofish/crypto/twofish.c	2006-06-11 15:58:20.315984114 +0200
+++ linux-2.6.17-rc5.twofish2/crypto/twofish.c	2006-06-11 16:02:17.848687953 +0200
@@ -182,6 +182,8 @@ static void twofish_decrypt(void *cx, u8
 
 static struct crypto_alg alg = {
 	.cra_name           =   "twofish",
+	.cra_driver_name    =   "twofish-generic",
+	.cra_priority       =   100,
 	.cra_flags          =   CRYPTO_ALG_TYPE_CIPHER,
 	.cra_blocksize      =   TF_BLOCK_SIZE,
 	.cra_ctxsize        =   sizeof(struct twofish_ctx),

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux