* [PATCH 2/4] Twofish cipher - priority fix
@ 2006-06-04 13:16 Joachim Fritschi
2006-06-07 19:37 ` Joachim Fritschi
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Joachim Fritschi @ 2006-06-04 13:16 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-crypto, herbert, ak
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),
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/4] Twofish cipher - priority fix
2006-06-04 13:16 [PATCH 2/4] Twofish cipher - priority fix Joachim Fritschi
@ 2006-06-07 19:37 ` Joachim Fritschi
2006-06-16 11:59 ` Joachim Fritschi
2006-06-19 14:12 ` Joachim Fritschi
2 siblings, 0 replies; 4+ messages in thread
From: Joachim Fritschi @ 2006-06-07 19:37 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-crypto, herbert, ak
On Sunday 04 June 2006 15:16, Joachim Fritschi wrote:
> This patch adds a proper driver name and priority to the generic c
> implemtation to allow coexistance of c and assembler modules.
My first mail was wordwrapped. This one should be unwrapped and working:
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),
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/4] Twofish cipher - priority fix
2006-06-04 13:16 [PATCH 2/4] Twofish cipher - priority fix Joachim Fritschi
2006-06-07 19:37 ` Joachim Fritschi
@ 2006-06-16 11:59 ` Joachim Fritschi
2006-06-19 14:12 ` Joachim Fritschi
2 siblings, 0 replies; 4+ messages in thread
From: Joachim Fritschi @ 2006-06-16 11:59 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-crypto, herbert, ak
Updated patch due to the new twofish_common patch
Signed-off-by: Joachim Fritschi <jfritschi@freenet.de>
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),
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/4] Twofish cipher - priority fix
2006-06-04 13:16 [PATCH 2/4] Twofish cipher - priority fix Joachim Fritschi
2006-06-07 19:37 ` Joachim Fritschi
2006-06-16 11:59 ` Joachim Fritschi
@ 2006-06-19 14:12 ` Joachim Fritschi
2 siblings, 0 replies; 4+ messages in thread
From: Joachim Fritschi @ 2006-06-19 14:12 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-crypto, herbert, ak
This patch is now based on the cryptodev tree.
Signed-off-by: Joachim Fritschi <jfritschi@freenet.de>
crypto/twofish.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/crypto/twofish.c b/crypto/twofish.c
index d5ef89a..9c7f19f 100644
--- a/crypto/twofish.c
+++ b/crypto/twofish.c
@@ -181,6 +181,8 @@ static void twofish_decrypt(struct crypt
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),
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-06-19 14:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-04 13:16 [PATCH 2/4] Twofish cipher - priority fix Joachim Fritschi
2006-06-07 19:37 ` Joachim Fritschi
2006-06-16 11:59 ` Joachim Fritschi
2006-06-19 14:12 ` Joachim Fritschi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome