diff options
author | Joachim Fritschi <jfritschi@freenet.de> | 2006-06-20 06:39:29 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2006-09-20 21:16:28 -0400 |
commit | 758f570ea785a5fbcdca026dfab2e9e1a3f89726 (patch) | |
tree | b16a4acb4cb6244a79e6ca41120874aafb39c7e3 /crypto | |
parent | 2729bb427f686e47970406d6bde6b11892885f29 (diff) |
[CRYPTO] twofish: Fix the priority
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>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/twofish.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/twofish.c b/crypto/twofish.c index e3b3a0a6cb4..4979a2be48a 100644 --- a/crypto/twofish.c +++ b/crypto/twofish.c | |||
@@ -181,6 +181,8 @@ static void twofish_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) | |||
181 | 181 | ||
182 | static struct crypto_alg alg = { | 182 | static struct crypto_alg alg = { |
183 | .cra_name = "twofish", | 183 | .cra_name = "twofish", |
184 | .cra_driver_name = "twofish-generic", | ||
185 | .cra_priority = 100, | ||
184 | .cra_flags = CRYPTO_ALG_TYPE_CIPHER, | 186 | .cra_flags = CRYPTO_ALG_TYPE_CIPHER, |
185 | .cra_blocksize = TF_BLOCK_SIZE, | 187 | .cra_blocksize = TF_BLOCK_SIZE, |
186 | .cra_ctxsize = sizeof(struct twofish_ctx), | 188 | .cra_ctxsize = sizeof(struct twofish_ctx), |