Twofish cipher - priority fix From: Joachim Fritschi 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 Signed-off-by: Andi Kleen --- crypto/twofish_c.c | 2 ++ 1 files changed, 2 insertions(+) Index: linux/crypto/twofish_c.c =================================================================== --- linux.orig/crypto/twofish_c.c +++ linux/crypto/twofish_c.c @@ -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),