]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - crypto/aes.c
[CRYPTO] Allow AES C/ASM implementations to coexist
[linux-2.6-omap-h63xx.git] / crypto / aes.c
index 35a11deef29b28a6f2ae75ccd2e7e8da96466edf..b9b2afb427928cc7c4ae8f0e513282e701568ecc 100644 (file)
@@ -418,6 +418,8 @@ static void aes_decrypt(void *ctx_arg, u8 *out, const u8 *in)
 
 static struct crypto_alg aes_alg = {
        .cra_name               =       "aes",
+       .cra_driver_name        =       "aes-generic",
+       .cra_priority           =       100,
        .cra_flags              =       CRYPTO_ALG_TYPE_CIPHER,
        .cra_blocksize          =       AES_BLOCK_SIZE,
        .cra_ctxsize            =       sizeof(struct aes_ctx),