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

From: Joachim Fritschi
Date: Mon Jun 19 2006 - 10:12:25 EST


This patch is now based on the cryptodev tree.

Signed-off-by: Joachim Fritschi <jfritschi@xxxxxxxxxx>

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),
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/