Skip to content

Commit

Permalink
[CRYPTO] twofish: Fix the priority
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
jfritschi authored and herbertx committed Sep 21, 2006
1 parent 2729bb4 commit 758f570
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crypto/twofish.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ static void twofish_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in)

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),
Expand Down

0 comments on commit 758f570

Please sign in to comment.