projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[CRYPTO] Allow AES C/ASM implementations to coexist
[linux-block.git]
/
arch
/
i386
/
crypto
/
aes.c
diff --git
a/arch/i386/crypto/aes.c
b/arch/i386/crypto/aes.c
index 1deb9ff564be3b5995cf7a4fb5921fd1e2ac31b6..138652aafcbf24222dd9519881f5020577ca1c10 100644
(file)
--- a/
arch/i386/crypto/aes.c
+++ b/
arch/i386/crypto/aes.c
@@
-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),