[PATCH] AES: Add soft module dependency to load other accelerated AES modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We added the soft module dependency of AES module alias
to generic aes module, inducing other hardware accelerated AES
modules to get loaded and used when available.

Tim

Signed-off-by: Tim Chen <tim.c.chen@xxxxxxxxxxxxxxx>
---
 crypto/aes_generic.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/crypto/aes_generic.c b/crypto/aes_generic.c
index fd0d6b4..0d9f519 100644
--- a/crypto/aes_generic.c
+++ b/crypto/aes_generic.c
@@ -1475,3 +1475,4 @@ module_exit(aes_fini);
 MODULE_DESCRIPTION("Rijndael (AES) Cipher Algorithm");
 MODULE_LICENSE("Dual BSD/GPL");
 MODULE_ALIAS("aes");
+MODULE_SOFTDEP("pre: aes");
-- 
1.7.11.7


--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux