Commit 758f570ea785a5fbcdca026dfab2e9e1a3f89726
Committed by
Herbert Xu
1 parent
2729bb427f
Exists in
master
and in
4 other branches
[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>
Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff
crypto/twofish.c
... | ... | @@ -181,6 +181,8 @@ |
181 | 181 | |
182 | 182 | static struct crypto_alg alg = { |
183 | 183 | .cra_name = "twofish", |
184 | + .cra_driver_name = "twofish-generic", | |
185 | + .cra_priority = 100, | |
184 | 186 | .cra_flags = CRYPTO_ALG_TYPE_CIPHER, |
185 | 187 | .cra_blocksize = TF_BLOCK_SIZE, |
186 | 188 | .cra_ctxsize = sizeof(struct twofish_ctx), |