lkml.org 
[lkml]   [2006]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/4] Twofish cipher - priority fix
Date
This patch adds a proper driver name and priority to the generic c 
implemtation to allow coexistance of c and assembler modules.

Signed-off-by: Joachim Fritschi <jfritschi@freenet.de>

diff -uprN linux-2.6.17-rc5.twofish/crypto/twofish_c.c
linux-2.6.17-rc5.twofish2/crypto/twofish_c.c
--- linux-2.6.17-rc5.twofish/crypto/twofish_c.c 2006-05-30 15:38:14.627954845
+0200
+++ linux-2.6.17-rc5.twofish2/crypto/twofish_c.c 2006-05-30 19:54:54.713680651
+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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-06-04 15:19    [W:2.075 / U:0.988 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site