]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/i386/crypto/aes.c
[CRYPTO] Allow AES C/ASM implementations to coexist
[linux-2.6-omap-h63xx.git] / arch / i386 / crypto / aes.c
index 1deb9ff564be3b5995cf7a4fb5921fd1e2ac31b6..138652aafcbf24222dd9519881f5020577ca1c10 100644 (file)
@@ -486,6 +486,8 @@ static inline void aes_decrypt(void *ctx, u8 *dst, const u8 *src)
 
 static struct crypto_alg aes_alg = {
        .cra_name               =       "aes",
+       .cra_driver_name        =       "aes-i586",
+       .cra_priority           =       200,
        .cra_flags              =       CRYPTO_ALG_TYPE_CIPHER,
        .cra_blocksize          =       AES_BLOCK_SIZE,
        .cra_ctxsize            =       sizeof(struct aes_ctx),