diff options
95 files changed, 155 insertions, 123 deletions
diff --git a/arch/arm/crypto/aes_glue.c b/arch/arm/crypto/aes_glue.c index 3003fa1f6fb4..0409b8f89782 100644 --- a/arch/arm/crypto/aes_glue.c +++ b/arch/arm/crypto/aes_glue.c | |||
@@ -93,6 +93,6 @@ module_exit(aes_fini); | |||
93 | 93 | ||
94 | MODULE_DESCRIPTION("Rijndael (AES) Cipher Algorithm (ASM)"); | 94 | MODULE_DESCRIPTION("Rijndael (AES) Cipher Algorithm (ASM)"); |
95 | MODULE_LICENSE("GPL"); | 95 | MODULE_LICENSE("GPL"); |
96 | MODULE_ALIAS("aes"); | 96 | MODULE_ALIAS_CRYPTO("aes"); |
97 | MODULE_ALIAS("aes-asm"); | 97 | MODULE_ALIAS_CRYPTO("aes-asm"); |
98 | MODULE_AUTHOR("David McCullough <ucdevel@gmail.com>"); | 98 | MODULE_AUTHOR("David McCullough <ucdevel@gmail.com>"); |
diff --git a/arch/arm/crypto/sha1_glue.c b/arch/arm/crypto/sha1_glue.c index 84f2a756588b..e31b0440c613 100644 --- a/arch/arm/crypto/sha1_glue.c +++ b/arch/arm/crypto/sha1_glue.c | |||
@@ -171,5 +171,5 @@ module_exit(sha1_mod_fini); | |||
171 | 171 | ||
172 | MODULE_LICENSE("GPL"); | 172 | MODULE_LICENSE("GPL"); |
173 | MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm (ARM)"); | 173 | MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm (ARM)"); |
174 | MODULE_ALIAS("sha1"); | 174 | MODULE_ALIAS_CRYPTO("sha1"); |
175 | MODULE_AUTHOR("David McCullough <ucdevel@gmail.com>"); | 175 | MODULE_AUTHOR("David McCullough <ucdevel@gmail.com>"); |
diff --git a/arch/arm/crypto/sha1_neon_glue.c b/arch/arm/crypto/sha1_neon_glue.c index 6f1b411b1d55..0b0083757d47 100644 --- a/arch/arm/crypto/sha1_neon_glue.c +++ b/arch/arm/crypto/sha1_neon_glue.c | |||
@@ -194,4 +194,4 @@ module_exit(sha1_neon_mod_fini); | |||
194 | 194 | ||
195 | MODULE_LICENSE("GPL"); | 195 | MODULE_LICENSE("GPL"); |
196 | MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm, NEON accelerated"); | 196 | MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm, NEON accelerated"); |
197 | MODULE_ALIAS("sha1"); | 197 | MODULE_ALIAS_CRYPTO("sha1"); |
diff --git a/arch/arm/crypto/sha512_neon_glue.c b/arch/arm/crypto/sha512_neon_glue.c index 0d2758ff5e12..f3452c66059d 100644 --- a/arch/arm/crypto/sha512_neon_glue.c +++ b/arch/arm/crypto/sha512_neon_glue.c | |||
@@ -301,5 +301,5 @@ module_exit(sha512_neon_mod_fini); | |||
301 | MODULE_LICENSE("GPL"); | 301 | MODULE_LICENSE("GPL"); |
302 | MODULE_DESCRIPTION("SHA512 Secure Hash Algorithm, NEON accelerated"); | 302 | MODULE_DESCRIPTION("SHA512 Secure Hash Algorithm, NEON accelerated"); |
303 | 303 | ||
304 | MODULE_ALIAS("sha512"); | 304 | MODULE_ALIAS_CRYPTO("sha512"); |
305 | MODULE_ALIAS("sha384"); | 305 | MODULE_ALIAS_CRYPTO("sha384"); |
diff --git a/arch/arm64/crypto/aes-ce-ccm-glue.c b/arch/arm64/crypto/aes-ce-ccm-glue.c index 9e6cdde9b43d..0156a268e163 100644 --- a/arch/arm64/crypto/aes-ce-ccm-glue.c +++ b/arch/arm64/crypto/aes-ce-ccm-glue.c | |||
@@ -294,4 +294,4 @@ module_exit(aes_mod_exit); | |||
294 | MODULE_DESCRIPTION("Synchronous AES in CCM mode using ARMv8 Crypto Extensions"); | 294 | MODULE_DESCRIPTION("Synchronous AES in CCM mode using ARMv8 Crypto Extensions"); |
295 | MODULE_AUTHOR("Ard Biesheuvel <ard.biesheuvel@linaro.org>"); | 295 | MODULE_AUTHOR("Ard Biesheuvel <ard.biesheuvel@linaro.org>"); |
296 | MODULE_LICENSE("GPL v2"); | 296 | MODULE_LICENSE("GPL v2"); |
297 | MODULE_ALIAS("ccm(aes)"); | 297 | MODULE_ALIAS_CRYPTO("ccm(aes)"); |
diff --git a/arch/arm64/crypto/aes-glue.c b/arch/arm64/crypto/aes-glue.c index 79cd911ef88c..5f63a791b2fb 100644 --- a/arch/arm64/crypto/aes-glue.c +++ b/arch/arm64/crypto/aes-glue.c | |||
@@ -38,10 +38,10 @@ MODULE_DESCRIPTION("AES-ECB/CBC/CTR/XTS using ARMv8 Crypto Extensions"); | |||
38 | #define aes_xts_encrypt neon_aes_xts_encrypt | 38 | #define aes_xts_encrypt neon_aes_xts_encrypt |
39 | #define aes_xts_decrypt neon_aes_xts_decrypt | 39 | #define aes_xts_decrypt neon_aes_xts_decrypt |
40 | MODULE_DESCRIPTION("AES-ECB/CBC/CTR/XTS using ARMv8 NEON"); | 40 | MODULE_DESCRIPTION("AES-ECB/CBC/CTR/XTS using ARMv8 NEON"); |
41 | MODULE_ALIAS("ecb(aes)"); | 41 | MODULE_ALIAS_CRYPTO("ecb(aes)"); |
42 | MODULE_ALIAS("cbc(aes)"); | 42 | MODULE_ALIAS_CRYPTO("cbc(aes)"); |
43 | MODULE_ALIAS("ctr(aes)"); | 43 | MODULE_ALIAS_CRYPTO("ctr(aes)"); |
44 | MODULE_ALIAS("xts(aes)"); | 44 | MODULE_ALIAS_CRYPTO("xts(aes)"); |
45 | #endif | 45 | #endif |
46 | 46 | ||
47 | MODULE_AUTHOR("Ard Biesheuvel <ard.biesheuvel@linaro.org>"); | 47 | MODULE_AUTHOR("Ard Biesheuvel <ard.biesheuvel@linaro.org>"); |
diff --git a/arch/powerpc/crypto/sha1.c b/arch/powerpc/crypto/sha1.c index f9e8b9491efc..0f88c7b41119 100644 --- a/arch/powerpc/crypto/sha1.c +++ b/arch/powerpc/crypto/sha1.c | |||
@@ -154,4 +154,4 @@ module_exit(sha1_powerpc_mod_fini); | |||
154 | MODULE_LICENSE("GPL"); | 154 | MODULE_LICENSE("GPL"); |
155 | MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm"); | 155 | MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm"); |
156 | 156 | ||
157 | MODULE_ALIAS("sha1-powerpc"); | 157 | MODULE_ALIAS_CRYPTO("sha1-powerpc"); |
diff --git a/arch/s390/crypto/aes_s390.c b/arch/s390/crypto/aes_s390.c index 23223cd63e54..1f272b24fc0b 100644 --- a/arch/s390/crypto/aes_s390.c +++ b/arch/s390/crypto/aes_s390.c | |||
@@ -979,7 +979,7 @@ static void __exit aes_s390_fini(void) | |||
979 | module_init(aes_s390_init); | 979 | module_init(aes_s390_init); |
980 | module_exit(aes_s390_fini); | 980 | module_exit(aes_s390_fini); |
981 | 981 | ||
982 | MODULE_ALIAS("aes-all"); | 982 | MODULE_ALIAS_CRYPTO("aes-all"); |
983 | 983 | ||
984 | MODULE_DESCRIPTION("Rijndael (AES) Cipher Algorithm"); | 984 | MODULE_DESCRIPTION("Rijndael (AES) Cipher Algorithm"); |
985 | MODULE_LICENSE("GPL"); | 985 | MODULE_LICENSE("GPL"); |
diff --git a/arch/s390/crypto/des_s390.c b/arch/s390/crypto/des_s390.c index 7acb77f7ef1a..9e05cc453a40 100644 --- a/arch/s390/crypto/des_s390.c +++ b/arch/s390/crypto/des_s390.c | |||
@@ -619,8 +619,8 @@ static void __exit des_s390_exit(void) | |||
619 | module_init(des_s390_init); | 619 | module_init(des_s390_init); |
620 | module_exit(des_s390_exit); | 620 | module_exit(des_s390_exit); |
621 | 621 | ||
622 | MODULE_ALIAS("des"); | 622 | MODULE_ALIAS_CRYPTO("des"); |
623 | MODULE_ALIAS("des3_ede"); | 623 | MODULE_ALIAS_CRYPTO("des3_ede"); |
624 | 624 | ||
625 | MODULE_LICENSE("GPL"); | 625 | MODULE_LICENSE("GPL"); |
626 | MODULE_DESCRIPTION("DES & Triple DES EDE Cipher Algorithms"); | 626 | MODULE_DESCRIPTION("DES & Triple DES EDE Cipher Algorithms"); |
diff --git a/arch/s390/crypto/ghash_s390.c b/arch/s390/crypto/ghash_s390.c index d43485d142e9..7940dc90e80b 100644 --- a/arch/s390/crypto/ghash_s390.c +++ b/arch/s390/crypto/ghash_s390.c | |||
@@ -160,7 +160,7 @@ static void __exit ghash_mod_exit(void) | |||
160 | module_init(ghash_mod_init); | 160 | module_init(ghash_mod_init); |
161 | module_exit(ghash_mod_exit); | 161 | module_exit(ghash_mod_exit); |
162 | 162 | ||
163 | MODULE_ALIAS("ghash"); | 163 | MODULE_ALIAS_CRYPTO("ghash"); |
164 | 164 | ||
165 | MODULE_LICENSE("GPL"); | 165 | MODULE_LICENSE("GPL"); |
166 | MODULE_DESCRIPTION("GHASH Message Digest Algorithm, s390 implementation"); | 166 | MODULE_DESCRIPTION("GHASH Message Digest Algorithm, s390 implementation"); |
diff --git a/arch/s390/crypto/sha1_s390.c b/arch/s390/crypto/sha1_s390.c index a1b3a9dc9d8a..5b2bee323694 100644 --- a/arch/s390/crypto/sha1_s390.c +++ b/arch/s390/crypto/sha1_s390.c | |||
@@ -103,6 +103,6 @@ static void __exit sha1_s390_fini(void) | |||
103 | module_init(sha1_s390_init); | 103 | module_init(sha1_s390_init); |
104 | module_exit(sha1_s390_fini); | 104 | module_exit(sha1_s390_fini); |
105 | 105 | ||
106 | MODULE_ALIAS("sha1"); | 106 | MODULE_ALIAS_CRYPTO("sha1"); |
107 | MODULE_LICENSE("GPL"); | 107 | MODULE_LICENSE("GPL"); |
108 | MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm"); | 108 | MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm"); |
diff --git a/arch/s390/crypto/sha256_s390.c b/arch/s390/crypto/sha256_s390.c index 9b853809a492..b74ff158108c 100644 --- a/arch/s390/crypto/sha256_s390.c +++ b/arch/s390/crypto/sha256_s390.c | |||
@@ -143,7 +143,7 @@ static void __exit sha256_s390_fini(void) | |||
143 | module_init(sha256_s390_init); | 143 | module_init(sha256_s390_init); |
144 | module_exit(sha256_s390_fini); | 144 | module_exit(sha256_s390_fini); |
145 | 145 | ||
146 | MODULE_ALIAS("sha256"); | 146 | MODULE_ALIAS_CRYPTO("sha256"); |
147 | MODULE_ALIAS("sha224"); | 147 | MODULE_ALIAS_CRYPTO("sha224"); |
148 | MODULE_LICENSE("GPL"); | 148 | MODULE_LICENSE("GPL"); |
149 | MODULE_DESCRIPTION("SHA256 and SHA224 Secure Hash Algorithm"); | 149 | MODULE_DESCRIPTION("SHA256 and SHA224 Secure Hash Algorithm"); |
diff --git a/arch/s390/crypto/sha512_s390.c b/arch/s390/crypto/sha512_s390.c index 32a81383b69c..0c36989ba182 100644 --- a/arch/s390/crypto/sha512_s390.c +++ b/arch/s390/crypto/sha512_s390.c | |||
@@ -86,7 +86,7 @@ static struct shash_alg sha512_alg = { | |||
86 | } | 86 | } |
87 | }; | 87 | }; |
88 | 88 | ||
89 | MODULE_ALIAS("sha512"); | 89 | MODULE_ALIAS_CRYPTO("sha512"); |
90 | 90 | ||
91 | static int sha384_init(struct shash_desc *desc) | 91 | static int sha384_init(struct shash_desc *desc) |
92 | { | 92 | { |
@@ -126,7 +126,7 @@ static struct shash_alg sha384_alg = { | |||
126 | } | 126 | } |
127 | }; | 127 | }; |
128 | 128 | ||
129 | MODULE_ALIAS("sha384"); | 129 | MODULE_ALIAS_CRYPTO("sha384"); |
130 | 130 | ||
131 | static int __init init(void) | 131 | static int __init init(void) |
132 | { | 132 | { |
diff --git a/arch/sparc/crypto/aes_glue.c b/arch/sparc/crypto/aes_glue.c index df922f52d76d..705408766ab0 100644 --- a/arch/sparc/crypto/aes_glue.c +++ b/arch/sparc/crypto/aes_glue.c | |||
@@ -499,6 +499,6 @@ module_exit(aes_sparc64_mod_fini); | |||
499 | MODULE_LICENSE("GPL"); | 499 | MODULE_LICENSE("GPL"); |
500 | MODULE_DESCRIPTION("AES Secure Hash Algorithm, sparc64 aes opcode accelerated"); | 500 | MODULE_DESCRIPTION("AES Secure Hash Algorithm, sparc64 aes opcode accelerated"); |
501 | 501 | ||
502 | MODULE_ALIAS("aes"); | 502 | MODULE_ALIAS_CRYPTO("aes"); |
503 | 503 | ||
504 | #include "crop_devid.c" | 504 | #include "crop_devid.c" |
diff --git a/arch/sparc/crypto/camellia_glue.c b/arch/sparc/crypto/camellia_glue.c index 888f6260b4ec..641f55cb61c3 100644 --- a/arch/sparc/crypto/camellia_glue.c +++ b/arch/sparc/crypto/camellia_glue.c | |||
@@ -322,6 +322,6 @@ module_exit(camellia_sparc64_mod_fini); | |||
322 | MODULE_LICENSE("GPL"); | 322 | MODULE_LICENSE("GPL"); |
323 | MODULE_DESCRIPTION("Camellia Cipher Algorithm, sparc64 camellia opcode accelerated"); | 323 | MODULE_DESCRIPTION("Camellia Cipher Algorithm, sparc64 camellia opcode accelerated"); |
324 | 324 | ||
325 | MODULE_ALIAS("aes"); | 325 | MODULE_ALIAS_CRYPTO("aes"); |
326 | 326 | ||
327 | #include "crop_devid.c" | 327 | #include "crop_devid.c" |
diff --git a/arch/sparc/crypto/crc32c_glue.c b/arch/sparc/crypto/crc32c_glue.c index 5162fad912ce..d1064e46efe8 100644 --- a/arch/sparc/crypto/crc32c_glue.c +++ b/arch/sparc/crypto/crc32c_glue.c | |||
@@ -176,6 +176,6 @@ module_exit(crc32c_sparc64_mod_fini); | |||
176 | MODULE_LICENSE("GPL"); | 176 | MODULE_LICENSE("GPL"); |
177 | MODULE_DESCRIPTION("CRC32c (Castagnoli), sparc64 crc32c opcode accelerated"); | 177 | MODULE_DESCRIPTION("CRC32c (Castagnoli), sparc64 crc32c opcode accelerated"); |
178 | 178 | ||
179 | MODULE_ALIAS("crc32c"); | 179 | MODULE_ALIAS_CRYPTO("crc32c"); |
180 | 180 | ||
181 | #include "crop_devid.c" | 181 | #include "crop_devid.c" |
diff --git a/arch/sparc/crypto/des_glue.c b/arch/sparc/crypto/des_glue.c index 3065bc61f9d3..d11500972994 100644 --- a/arch/sparc/crypto/des_glue.c +++ b/arch/sparc/crypto/des_glue.c | |||
@@ -532,6 +532,6 @@ module_exit(des_sparc64_mod_fini); | |||
532 | MODULE_LICENSE("GPL"); | 532 | MODULE_LICENSE("GPL"); |
533 | MODULE_DESCRIPTION("DES & Triple DES EDE Cipher Algorithms, sparc64 des opcode accelerated"); | 533 | MODULE_DESCRIPTION("DES & Triple DES EDE Cipher Algorithms, sparc64 des opcode accelerated"); |
534 | 534 | ||
535 | MODULE_ALIAS("des"); | 535 | MODULE_ALIAS_CRYPTO("des"); |
536 | 536 | ||
537 | #include "crop_devid.c" | 537 | #include "crop_devid.c" |
diff --git a/arch/sparc/crypto/md5_glue.c b/arch/sparc/crypto/md5_glue.c index 09a9ea1dfb69..64c7ff5f72a9 100644 --- a/arch/sparc/crypto/md5_glue.c +++ b/arch/sparc/crypto/md5_glue.c | |||
@@ -185,6 +185,6 @@ module_exit(md5_sparc64_mod_fini); | |||
185 | MODULE_LICENSE("GPL"); | 185 | MODULE_LICENSE("GPL"); |
186 | MODULE_DESCRIPTION("MD5 Secure Hash Algorithm, sparc64 md5 opcode accelerated"); | 186 | MODULE_DESCRIPTION("MD5 Secure Hash Algorithm, sparc64 md5 opcode accelerated"); |
187 | 187 | ||
188 | MODULE_ALIAS("md5"); | 188 | MODULE_ALIAS_CRYPTO("md5"); |
189 | 189 | ||
190 | #include "crop_devid.c" | 190 | #include "crop_devid.c" |
diff --git a/arch/sparc/crypto/sha1_glue.c b/arch/sparc/crypto/sha1_glue.c index 6cd5f29e1e0d..1b3e47accc74 100644 --- a/arch/sparc/crypto/sha1_glue.c +++ b/arch/sparc/crypto/sha1_glue.c | |||
@@ -180,6 +180,6 @@ module_exit(sha1_sparc64_mod_fini); | |||
180 | MODULE_LICENSE("GPL"); | 180 | MODULE_LICENSE("GPL"); |
181 | MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm, sparc64 sha1 opcode accelerated"); | 181 | MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm, sparc64 sha1 opcode accelerated"); |
182 | 182 | ||
183 | MODULE_ALIAS("sha1"); | 183 | MODULE_ALIAS_CRYPTO("sha1"); |
184 | 184 | ||
185 | #include "crop_devid.c" | 185 | #include "crop_devid.c" |
diff --git a/arch/sparc/crypto/sha256_glue.c b/arch/sparc/crypto/sha256_glue.c index 04f555ab2680..41f27cca2a22 100644 --- a/arch/sparc/crypto/sha256_glue.c +++ b/arch/sparc/crypto/sha256_glue.c | |||
@@ -237,7 +237,7 @@ module_exit(sha256_sparc64_mod_fini); | |||
237 | MODULE_LICENSE("GPL"); | 237 | MODULE_LICENSE("GPL"); |
238 | MODULE_DESCRIPTION("SHA-224 and SHA-256 Secure Hash Algorithm, sparc64 sha256 opcode accelerated"); | 238 | MODULE_DESCRIPTION("SHA-224 and SHA-256 Secure Hash Algorithm, sparc64 sha256 opcode accelerated"); |
239 | 239 | ||
240 | MODULE_ALIAS("sha224"); | 240 | MODULE_ALIAS_CRYPTO("sha224"); |
241 | MODULE_ALIAS("sha256"); | 241 | MODULE_ALIAS_CRYPTO("sha256"); |
242 | 242 | ||
243 | #include "crop_devid.c" | 243 | #include "crop_devid.c" |
diff --git a/arch/sparc/crypto/sha512_glue.c b/arch/sparc/crypto/sha512_glue.c index f04d1994d19a..9fff88541b8c 100644 --- a/arch/sparc/crypto/sha512_glue.c +++ b/arch/sparc/crypto/sha512_glue.c | |||
@@ -222,7 +222,7 @@ module_exit(sha512_sparc64_mod_fini); | |||
222 | MODULE_LICENSE("GPL"); | 222 | MODULE_LICENSE("GPL"); |
223 | MODULE_DESCRIPTION("SHA-384 and SHA-512 Secure Hash Algorithm, sparc64 sha512 opcode accelerated"); | 223 | MODULE_DESCRIPTION("SHA-384 and SHA-512 Secure Hash Algorithm, sparc64 sha512 opcode accelerated"); |
224 | 224 | ||
225 | MODULE_ALIAS("sha384"); | 225 | MODULE_ALIAS_CRYPTO("sha384"); |
226 | MODULE_ALIAS("sha512"); | 226 | MODULE_ALIAS_CRYPTO("sha512"); |
227 | 227 | ||
228 | #include "crop_devid.c" | 228 | #include "crop_devid.c" |
diff --git a/arch/x86/crypto/aes_glue.c b/arch/x86/crypto/aes_glue.c index aafe8ce0d65d..e26984f7ab8d 100644 --- a/arch/x86/crypto/aes_glue.c +++ b/arch/x86/crypto/aes_glue.c | |||
@@ -66,5 +66,5 @@ module_exit(aes_fini); | |||
66 | 66 | ||
67 | MODULE_DESCRIPTION("Rijndael (AES) Cipher Algorithm, asm optimized"); | 67 | MODULE_DESCRIPTION("Rijndael (AES) Cipher Algorithm, asm optimized"); |
68 | MODULE_LICENSE("GPL"); | 68 | MODULE_LICENSE("GPL"); |
69 | MODULE_ALIAS("aes"); | 69 | MODULE_ALIAS_CRYPTO("aes"); |
70 | MODULE_ALIAS("aes-asm"); | 70 | MODULE_ALIAS_CRYPTO("aes-asm"); |
diff --git a/arch/x86/crypto/aesni-intel_glue.c b/arch/x86/crypto/aesni-intel_glue.c index bcebf754466c..ae855f4f64b7 100644 --- a/arch/x86/crypto/aesni-intel_glue.c +++ b/arch/x86/crypto/aesni-intel_glue.c | |||
@@ -1546,4 +1546,4 @@ module_exit(aesni_exit); | |||
1546 | 1546 | ||
1547 | MODULE_DESCRIPTION("Rijndael (AES) Cipher Algorithm, Intel AES-NI instructions optimized"); | 1547 | MODULE_DESCRIPTION("Rijndael (AES) Cipher Algorithm, Intel AES-NI instructions optimized"); |
1548 | MODULE_LICENSE("GPL"); | 1548 | MODULE_LICENSE("GPL"); |
1549 | MODULE_ALIAS("aes"); | 1549 | MODULE_ALIAS_CRYPTO("aes"); |
diff --git a/arch/x86/crypto/blowfish_glue.c b/arch/x86/crypto/blowfish_glue.c index 8af519ed73d1..17c05531dfd1 100644 --- a/arch/x86/crypto/blowfish_glue.c +++ b/arch/x86/crypto/blowfish_glue.c | |||
@@ -478,5 +478,5 @@ module_exit(fini); | |||
478 | 478 | ||
479 | MODULE_LICENSE("GPL"); | 479 | MODULE_LICENSE("GPL"); |
480 | MODULE_DESCRIPTION("Blowfish Cipher Algorithm, asm optimized"); | 480 | MODULE_DESCRIPTION("Blowfish Cipher Algorithm, asm optimized"); |
481 | MODULE_ALIAS("blowfish"); | 481 | MODULE_ALIAS_CRYPTO("blowfish"); |
482 | MODULE_ALIAS("blowfish-asm"); | 482 | MODULE_ALIAS_CRYPTO("blowfish-asm"); |
diff --git a/arch/x86/crypto/camellia_aesni_avx2_glue.c b/arch/x86/crypto/camellia_aesni_avx2_glue.c index 4209a76fcdaa..9a07fafe3831 100644 --- a/arch/x86/crypto/camellia_aesni_avx2_glue.c +++ b/arch/x86/crypto/camellia_aesni_avx2_glue.c | |||
@@ -582,5 +582,5 @@ module_exit(camellia_aesni_fini); | |||
582 | 582 | ||
583 | MODULE_LICENSE("GPL"); | 583 | MODULE_LICENSE("GPL"); |
584 | MODULE_DESCRIPTION("Camellia Cipher Algorithm, AES-NI/AVX2 optimized"); | 584 | MODULE_DESCRIPTION("Camellia Cipher Algorithm, AES-NI/AVX2 optimized"); |
585 | MODULE_ALIAS("camellia"); | 585 | MODULE_ALIAS_CRYPTO("camellia"); |
586 | MODULE_ALIAS("camellia-asm"); | 586 | MODULE_ALIAS_CRYPTO("camellia-asm"); |
diff --git a/arch/x86/crypto/camellia_aesni_avx_glue.c b/arch/x86/crypto/camellia_aesni_avx_glue.c index 87a041a10f4a..ed38d959add6 100644 --- a/arch/x86/crypto/camellia_aesni_avx_glue.c +++ b/arch/x86/crypto/camellia_aesni_avx_glue.c | |||
@@ -574,5 +574,5 @@ module_exit(camellia_aesni_fini); | |||
574 | 574 | ||
575 | MODULE_LICENSE("GPL"); | 575 | MODULE_LICENSE("GPL"); |
576 | MODULE_DESCRIPTION("Camellia Cipher Algorithm, AES-NI/AVX optimized"); | 576 | MODULE_DESCRIPTION("Camellia Cipher Algorithm, AES-NI/AVX optimized"); |
577 | MODULE_ALIAS("camellia"); | 577 | MODULE_ALIAS_CRYPTO("camellia"); |
578 | MODULE_ALIAS("camellia-asm"); | 578 | MODULE_ALIAS_CRYPTO("camellia-asm"); |
diff --git a/arch/x86/crypto/camellia_glue.c b/arch/x86/crypto/camellia_glue.c index c171dcbf192d..5c8b6266a394 100644 --- a/arch/x86/crypto/camellia_glue.c +++ b/arch/x86/crypto/camellia_glue.c | |||
@@ -1725,5 +1725,5 @@ module_exit(fini); | |||
1725 | 1725 | ||
1726 | MODULE_LICENSE("GPL"); | 1726 | MODULE_LICENSE("GPL"); |
1727 | MODULE_DESCRIPTION("Camellia Cipher Algorithm, asm optimized"); | 1727 | MODULE_DESCRIPTION("Camellia Cipher Algorithm, asm optimized"); |
1728 | MODULE_ALIAS("camellia"); | 1728 | MODULE_ALIAS_CRYPTO("camellia"); |
1729 | MODULE_ALIAS("camellia-asm"); | 1729 | MODULE_ALIAS_CRYPTO("camellia-asm"); |
diff --git a/arch/x86/crypto/cast5_avx_glue.c b/arch/x86/crypto/cast5_avx_glue.c index e57e20ab5e0b..60ada677a928 100644 --- a/arch/x86/crypto/cast5_avx_glue.c +++ b/arch/x86/crypto/cast5_avx_glue.c | |||
@@ -491,4 +491,4 @@ module_exit(cast5_exit); | |||
491 | 491 | ||
492 | MODULE_DESCRIPTION("Cast5 Cipher Algorithm, AVX optimized"); | 492 | MODULE_DESCRIPTION("Cast5 Cipher Algorithm, AVX optimized"); |
493 | MODULE_LICENSE("GPL"); | 493 | MODULE_LICENSE("GPL"); |
494 | MODULE_ALIAS("cast5"); | 494 | MODULE_ALIAS_CRYPTO("cast5"); |
diff --git a/arch/x86/crypto/cast6_avx_glue.c b/arch/x86/crypto/cast6_avx_glue.c index 09f3677393e4..0160f68a57ff 100644 --- a/arch/x86/crypto/cast6_avx_glue.c +++ b/arch/x86/crypto/cast6_avx_glue.c | |||
@@ -611,4 +611,4 @@ module_exit(cast6_exit); | |||
611 | 611 | ||
612 | MODULE_DESCRIPTION("Cast6 Cipher Algorithm, AVX optimized"); | 612 | MODULE_DESCRIPTION("Cast6 Cipher Algorithm, AVX optimized"); |
613 | MODULE_LICENSE("GPL"); | 613 | MODULE_LICENSE("GPL"); |
614 | MODULE_ALIAS("cast6"); | 614 | MODULE_ALIAS_CRYPTO("cast6"); |
diff --git a/arch/x86/crypto/crc32-pclmul_glue.c b/arch/x86/crypto/crc32-pclmul_glue.c index 9d014a74ef96..1937fc1d8763 100644 --- a/arch/x86/crypto/crc32-pclmul_glue.c +++ b/arch/x86/crypto/crc32-pclmul_glue.c | |||
@@ -197,5 +197,5 @@ module_exit(crc32_pclmul_mod_fini); | |||
197 | MODULE_AUTHOR("Alexander Boyko <alexander_boyko@xyratex.com>"); | 197 | MODULE_AUTHOR("Alexander Boyko <alexander_boyko@xyratex.com>"); |
198 | MODULE_LICENSE("GPL"); | 198 | MODULE_LICENSE("GPL"); |
199 | 199 | ||
200 | MODULE_ALIAS("crc32"); | 200 | MODULE_ALIAS_CRYPTO("crc32"); |
201 | MODULE_ALIAS("crc32-pclmul"); | 201 | MODULE_ALIAS_CRYPTO("crc32-pclmul"); |
diff --git a/arch/x86/crypto/crc32c-intel_glue.c b/arch/x86/crypto/crc32c-intel_glue.c index 6812ad98355c..28640c3d6af7 100644 --- a/arch/x86/crypto/crc32c-intel_glue.c +++ b/arch/x86/crypto/crc32c-intel_glue.c | |||
@@ -280,5 +280,5 @@ MODULE_AUTHOR("Austin Zhang <austin.zhang@intel.com>, Kent Liu <kent.liu@intel.c | |||
280 | MODULE_DESCRIPTION("CRC32c (Castagnoli) optimization using Intel Hardware."); | 280 | MODULE_DESCRIPTION("CRC32c (Castagnoli) optimization using Intel Hardware."); |
281 | MODULE_LICENSE("GPL"); | 281 | MODULE_LICENSE("GPL"); |
282 | 282 | ||
283 | MODULE_ALIAS("crc32c"); | 283 | MODULE_ALIAS_CRYPTO("crc32c"); |
284 | MODULE_ALIAS("crc32c-intel"); | 284 | MODULE_ALIAS_CRYPTO("crc32c-intel"); |
diff --git a/arch/x86/crypto/crct10dif-pclmul_glue.c b/arch/x86/crypto/crct10dif-pclmul_glue.c index 7845d7fd54c0..b6c67bf30fdf 100644 --- a/arch/x86/crypto/crct10dif-pclmul_glue.c +++ b/arch/x86/crypto/crct10dif-pclmul_glue.c | |||
@@ -147,5 +147,5 @@ MODULE_AUTHOR("Tim Chen <tim.c.chen@linux.intel.com>"); | |||
147 | MODULE_DESCRIPTION("T10 DIF CRC calculation accelerated with PCLMULQDQ."); | 147 | MODULE_DESCRIPTION("T10 DIF CRC calculation accelerated with PCLMULQDQ."); |
148 | MODULE_LICENSE("GPL"); | 148 | MODULE_LICENSE("GPL"); |
149 | 149 | ||
150 | MODULE_ALIAS("crct10dif"); | 150 | MODULE_ALIAS_CRYPTO("crct10dif"); |
151 | MODULE_ALIAS("crct10dif-pclmul"); | 151 | MODULE_ALIAS_CRYPTO("crct10dif-pclmul"); |
diff --git a/arch/x86/crypto/des3_ede_glue.c b/arch/x86/crypto/des3_ede_glue.c index 0e9c0668fe4e..38a14f818ef1 100644 --- a/arch/x86/crypto/des3_ede_glue.c +++ b/arch/x86/crypto/des3_ede_glue.c | |||
@@ -502,8 +502,8 @@ module_exit(des3_ede_x86_fini); | |||
502 | 502 | ||
503 | MODULE_LICENSE("GPL"); | 503 | MODULE_LICENSE("GPL"); |
504 | MODULE_DESCRIPTION("Triple DES EDE Cipher Algorithm, asm optimized"); | 504 | MODULE_DESCRIPTION("Triple DES EDE Cipher Algorithm, asm optimized"); |
505 | MODULE_ALIAS("des3_ede"); | 505 | MODULE_ALIAS_CRYPTO("des3_ede"); |
506 | MODULE_ALIAS("des3_ede-asm"); | 506 | MODULE_ALIAS_CRYPTO("des3_ede-asm"); |
507 | MODULE_ALIAS("des"); | 507 | MODULE_ALIAS_CRYPTO("des"); |
508 | MODULE_ALIAS("des-asm"); | 508 | MODULE_ALIAS_CRYPTO("des-asm"); |
509 | MODULE_AUTHOR("Jussi Kivilinna <jussi.kivilinna@iki.fi>"); | 509 | MODULE_AUTHOR("Jussi Kivilinna <jussi.kivilinna@iki.fi>"); |
diff --git a/arch/x86/crypto/ghash-clmulni-intel_glue.c b/arch/x86/crypto/ghash-clmulni-intel_glue.c index 88bb7ba8b175..8253d85aa165 100644 --- a/arch/x86/crypto/ghash-clmulni-intel_glue.c +++ b/arch/x86/crypto/ghash-clmulni-intel_glue.c | |||
@@ -341,4 +341,4 @@ module_exit(ghash_pclmulqdqni_mod_exit); | |||
341 | MODULE_LICENSE("GPL"); | 341 | MODULE_LICENSE("GPL"); |
342 | MODULE_DESCRIPTION("GHASH Message Digest Algorithm, " | 342 | MODULE_DESCRIPTION("GHASH Message Digest Algorithm, " |
343 | "acclerated by PCLMULQDQ-NI"); | 343 | "acclerated by PCLMULQDQ-NI"); |
344 | MODULE_ALIAS("ghash"); | 344 | MODULE_ALIAS_CRYPTO("ghash"); |
diff --git a/arch/x86/crypto/salsa20_glue.c b/arch/x86/crypto/salsa20_glue.c index 5e8e67739bb5..399a29d067d6 100644 --- a/arch/x86/crypto/salsa20_glue.c +++ b/arch/x86/crypto/salsa20_glue.c | |||
@@ -119,5 +119,5 @@ module_exit(fini); | |||
119 | 119 | ||
120 | MODULE_LICENSE("GPL"); | 120 | MODULE_LICENSE("GPL"); |
121 | MODULE_DESCRIPTION ("Salsa20 stream cipher algorithm (optimized assembly version)"); | 121 | MODULE_DESCRIPTION ("Salsa20 stream cipher algorithm (optimized assembly version)"); |
122 | MODULE_ALIAS("salsa20"); | 122 | MODULE_ALIAS_CRYPTO("salsa20"); |
123 | MODULE_ALIAS("salsa20-asm"); | 123 | MODULE_ALIAS_CRYPTO("salsa20-asm"); |
diff --git a/arch/x86/crypto/serpent_avx2_glue.c b/arch/x86/crypto/serpent_avx2_glue.c index 2fae489b1524..437e47a4d302 100644 --- a/arch/x86/crypto/serpent_avx2_glue.c +++ b/arch/x86/crypto/serpent_avx2_glue.c | |||
@@ -558,5 +558,5 @@ module_exit(fini); | |||
558 | 558 | ||
559 | MODULE_LICENSE("GPL"); | 559 | MODULE_LICENSE("GPL"); |
560 | MODULE_DESCRIPTION("Serpent Cipher Algorithm, AVX2 optimized"); | 560 | MODULE_DESCRIPTION("Serpent Cipher Algorithm, AVX2 optimized"); |
561 | MODULE_ALIAS("serpent"); | 561 | MODULE_ALIAS_CRYPTO("serpent"); |
562 | MODULE_ALIAS("serpent-asm"); | 562 | MODULE_ALIAS_CRYPTO("serpent-asm"); |
diff --git a/arch/x86/crypto/serpent_avx_glue.c b/arch/x86/crypto/serpent_avx_glue.c index ff4870870972..7e217398b4eb 100644 --- a/arch/x86/crypto/serpent_avx_glue.c +++ b/arch/x86/crypto/serpent_avx_glue.c | |||
@@ -617,4 +617,4 @@ module_exit(serpent_exit); | |||
617 | 617 | ||
618 | MODULE_DESCRIPTION("Serpent Cipher Algorithm, AVX optimized"); | 618 | MODULE_DESCRIPTION("Serpent Cipher Algorithm, AVX optimized"); |
619 | MODULE_LICENSE("GPL"); | 619 | MODULE_LICENSE("GPL"); |
620 | MODULE_ALIAS("serpent"); | 620 | MODULE_ALIAS_CRYPTO("serpent"); |
diff --git a/arch/x86/crypto/serpent_sse2_glue.c b/arch/x86/crypto/serpent_sse2_glue.c index 8c95f8637306..bf025adaea01 100644 --- a/arch/x86/crypto/serpent_sse2_glue.c +++ b/arch/x86/crypto/serpent_sse2_glue.c | |||
@@ -618,4 +618,4 @@ module_exit(serpent_sse2_exit); | |||
618 | 618 | ||
619 | MODULE_DESCRIPTION("Serpent Cipher Algorithm, SSE2 optimized"); | 619 | MODULE_DESCRIPTION("Serpent Cipher Algorithm, SSE2 optimized"); |
620 | MODULE_LICENSE("GPL"); | 620 | MODULE_LICENSE("GPL"); |
621 | MODULE_ALIAS("serpent"); | 621 | MODULE_ALIAS_CRYPTO("serpent"); |
diff --git a/arch/x86/crypto/sha1_ssse3_glue.c b/arch/x86/crypto/sha1_ssse3_glue.c index 74d16ef707c7..6c20fe04a738 100644 --- a/arch/x86/crypto/sha1_ssse3_glue.c +++ b/arch/x86/crypto/sha1_ssse3_glue.c | |||
@@ -278,4 +278,4 @@ module_exit(sha1_ssse3_mod_fini); | |||
278 | MODULE_LICENSE("GPL"); | 278 | MODULE_LICENSE("GPL"); |
279 | MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm, Supplemental SSE3 accelerated"); | 279 | MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm, Supplemental SSE3 accelerated"); |
280 | 280 | ||
281 | MODULE_ALIAS("sha1"); | 281 | MODULE_ALIAS_CRYPTO("sha1"); |
diff --git a/arch/x86/crypto/sha256_ssse3_glue.c b/arch/x86/crypto/sha256_ssse3_glue.c index f248546da1ca..4dc100d82902 100644 --- a/arch/x86/crypto/sha256_ssse3_glue.c +++ b/arch/x86/crypto/sha256_ssse3_glue.c | |||
@@ -318,5 +318,5 @@ module_exit(sha256_ssse3_mod_fini); | |||
318 | MODULE_LICENSE("GPL"); | 318 | MODULE_LICENSE("GPL"); |
319 | MODULE_DESCRIPTION("SHA256 Secure Hash Algorithm, Supplemental SSE3 accelerated"); | 319 | MODULE_DESCRIPTION("SHA256 Secure Hash Algorithm, Supplemental SSE3 accelerated"); |
320 | 320 | ||
321 | MODULE_ALIAS("sha256"); | 321 | MODULE_ALIAS_CRYPTO("sha256"); |
322 | MODULE_ALIAS("sha224"); | 322 | MODULE_ALIAS_CRYPTO("sha224"); |
diff --git a/arch/x86/crypto/sha512_ssse3_glue.c b/arch/x86/crypto/sha512_ssse3_glue.c index 8626b03e83b7..26a5898a6f26 100644 --- a/arch/x86/crypto/sha512_ssse3_glue.c +++ b/arch/x86/crypto/sha512_ssse3_glue.c | |||
@@ -326,5 +326,5 @@ module_exit(sha512_ssse3_mod_fini); | |||
326 | MODULE_LICENSE("GPL"); | 326 | MODULE_LICENSE("GPL"); |
327 | MODULE_DESCRIPTION("SHA512 Secure Hash Algorithm, Supplemental SSE3 accelerated"); | 327 | MODULE_DESCRIPTION("SHA512 Secure Hash Algorithm, Supplemental SSE3 accelerated"); |
328 | 328 | ||
329 | MODULE_ALIAS("sha512"); | 329 | MODULE_ALIAS_CRYPTO("sha512"); |
330 | MODULE_ALIAS("sha384"); | 330 | MODULE_ALIAS_CRYPTO("sha384"); |
diff --git a/arch/x86/crypto/twofish_avx_glue.c b/arch/x86/crypto/twofish_avx_glue.c index 4e3c665be129..1ac531ea9bcc 100644 --- a/arch/x86/crypto/twofish_avx_glue.c +++ b/arch/x86/crypto/twofish_avx_glue.c | |||
@@ -579,4 +579,4 @@ module_exit(twofish_exit); | |||
579 | 579 | ||
580 | MODULE_DESCRIPTION("Twofish Cipher Algorithm, AVX optimized"); | 580 | MODULE_DESCRIPTION("Twofish Cipher Algorithm, AVX optimized"); |
581 | MODULE_LICENSE("GPL"); | 581 | MODULE_LICENSE("GPL"); |
582 | MODULE_ALIAS("twofish"); | 582 | MODULE_ALIAS_CRYPTO("twofish"); |
diff --git a/arch/x86/crypto/twofish_glue.c b/arch/x86/crypto/twofish_glue.c index 0a5202303501..77e06c2da83d 100644 --- a/arch/x86/crypto/twofish_glue.c +++ b/arch/x86/crypto/twofish_glue.c | |||
@@ -96,5 +96,5 @@ module_exit(fini); | |||
96 | 96 | ||
97 | MODULE_LICENSE("GPL"); | 97 | MODULE_LICENSE("GPL"); |
98 | MODULE_DESCRIPTION ("Twofish Cipher Algorithm, asm optimized"); | 98 | MODULE_DESCRIPTION ("Twofish Cipher Algorithm, asm optimized"); |
99 | MODULE_ALIAS("twofish"); | 99 | MODULE_ALIAS_CRYPTO("twofish"); |
100 | MODULE_ALIAS("twofish-asm"); | 100 | MODULE_ALIAS_CRYPTO("twofish-asm"); |
diff --git a/arch/x86/crypto/twofish_glue_3way.c b/arch/x86/crypto/twofish_glue_3way.c index 13e63b3e1dfb..56d8a08ee479 100644 --- a/arch/x86/crypto/twofish_glue_3way.c +++ b/arch/x86/crypto/twofish_glue_3way.c | |||
@@ -495,5 +495,5 @@ module_exit(fini); | |||
495 | 495 | ||
496 | MODULE_LICENSE("GPL"); | 496 | MODULE_LICENSE("GPL"); |
497 | MODULE_DESCRIPTION("Twofish Cipher Algorithm, 3-way parallel asm optimized"); | 497 | MODULE_DESCRIPTION("Twofish Cipher Algorithm, 3-way parallel asm optimized"); |
498 | MODULE_ALIAS("twofish"); | 498 | MODULE_ALIAS_CRYPTO("twofish"); |
499 | MODULE_ALIAS("twofish-asm"); | 499 | MODULE_ALIAS_CRYPTO("twofish-asm"); |
diff --git a/crypto/842.c b/crypto/842.c index 65c7a89cfa09..b48f4f108c47 100644 --- a/crypto/842.c +++ b/crypto/842.c | |||
@@ -180,3 +180,4 @@ module_exit(nx842_mod_exit); | |||
180 | 180 | ||
181 | MODULE_LICENSE("GPL"); | 181 | MODULE_LICENSE("GPL"); |
182 | MODULE_DESCRIPTION("842 Compression Algorithm"); | 182 | MODULE_DESCRIPTION("842 Compression Algorithm"); |
183 | MODULE_ALIAS_CRYPTO("842"); | ||
diff --git a/crypto/aes_generic.c b/crypto/aes_generic.c index fd0d6b454975..9b3c54c1cbe8 100644 --- a/crypto/aes_generic.c +++ b/crypto/aes_generic.c | |||
@@ -1474,4 +1474,4 @@ module_exit(aes_fini); | |||
1474 | 1474 | ||
1475 | MODULE_DESCRIPTION("Rijndael (AES) Cipher Algorithm"); | 1475 | MODULE_DESCRIPTION("Rijndael (AES) Cipher Algorithm"); |
1476 | MODULE_LICENSE("Dual BSD/GPL"); | 1476 | MODULE_LICENSE("Dual BSD/GPL"); |
1477 | MODULE_ALIAS("aes"); | 1477 | MODULE_ALIAS_CRYPTO("aes"); |
diff --git a/crypto/ansi_cprng.c b/crypto/ansi_cprng.c index 666f1962a160..b4485a108389 100644 --- a/crypto/ansi_cprng.c +++ b/crypto/ansi_cprng.c | |||
@@ -476,4 +476,4 @@ module_param(dbg, int, 0); | |||
476 | MODULE_PARM_DESC(dbg, "Boolean to enable debugging (0/1 == off/on)"); | 476 | MODULE_PARM_DESC(dbg, "Boolean to enable debugging (0/1 == off/on)"); |
477 | module_init(prng_mod_init); | 477 | module_init(prng_mod_init); |
478 | module_exit(prng_mod_fini); | 478 | module_exit(prng_mod_fini); |
479 | MODULE_ALIAS("stdrng"); | 479 | MODULE_ALIAS_CRYPTO("stdrng"); |
diff --git a/crypto/anubis.c b/crypto/anubis.c index 008c8a4fb67c..4bb187c2a902 100644 --- a/crypto/anubis.c +++ b/crypto/anubis.c | |||
@@ -704,3 +704,4 @@ module_exit(anubis_mod_fini); | |||
704 | 704 | ||
705 | MODULE_LICENSE("GPL"); | 705 | MODULE_LICENSE("GPL"); |
706 | MODULE_DESCRIPTION("Anubis Cryptographic Algorithm"); | 706 | MODULE_DESCRIPTION("Anubis Cryptographic Algorithm"); |
707 | MODULE_ALIAS_CRYPTO("anubis"); | ||
diff --git a/crypto/api.c b/crypto/api.c index a2b39c5f3649..2a81e98a0021 100644 --- a/crypto/api.c +++ b/crypto/api.c | |||
@@ -216,11 +216,11 @@ struct crypto_alg *crypto_larval_lookup(const char *name, u32 type, u32 mask) | |||
216 | 216 | ||
217 | alg = crypto_alg_lookup(name, type, mask); | 217 | alg = crypto_alg_lookup(name, type, mask); |
218 | if (!alg) { | 218 | if (!alg) { |
219 | request_module("%s", name); | 219 | request_module("crypto-%s", name); |
220 | 220 | ||
221 | if (!((type ^ CRYPTO_ALG_NEED_FALLBACK) & mask & | 221 | if (!((type ^ CRYPTO_ALG_NEED_FALLBACK) & mask & |
222 | CRYPTO_ALG_NEED_FALLBACK)) | 222 | CRYPTO_ALG_NEED_FALLBACK)) |
223 | request_module("%s-all", name); | 223 | request_module("crypto-%s-all", name); |
224 | 224 | ||
225 | alg = crypto_alg_lookup(name, type, mask); | 225 | alg = crypto_alg_lookup(name, type, mask); |
226 | } | 226 | } |
diff --git a/crypto/arc4.c b/crypto/arc4.c index 5a772c3657d5..f1a81925558f 100644 --- a/crypto/arc4.c +++ b/crypto/arc4.c | |||
@@ -166,3 +166,4 @@ module_exit(arc4_exit); | |||
166 | MODULE_LICENSE("GPL"); | 166 | MODULE_LICENSE("GPL"); |
167 | MODULE_DESCRIPTION("ARC4 Cipher Algorithm"); | 167 | MODULE_DESCRIPTION("ARC4 Cipher Algorithm"); |
168 | MODULE_AUTHOR("Jon Oberheide <jon@oberheide.org>"); | 168 | MODULE_AUTHOR("Jon Oberheide <jon@oberheide.org>"); |
169 | MODULE_ALIAS_CRYPTO("arc4"); | ||
diff --git a/crypto/blowfish_generic.c b/crypto/blowfish_generic.c index 8baf5447d35b..7bd71f02d0dd 100644 --- a/crypto/blowfish_generic.c +++ b/crypto/blowfish_generic.c | |||
@@ -138,4 +138,4 @@ module_exit(blowfish_mod_fini); | |||
138 | 138 | ||
139 | MODULE_LICENSE("GPL"); | 139 | MODULE_LICENSE("GPL"); |
140 | MODULE_DESCRIPTION("Blowfish Cipher Algorithm"); | 140 | MODULE_DESCRIPTION("Blowfish Cipher Algorithm"); |
141 | MODULE_ALIAS("blowfish"); | 141 | MODULE_ALIAS_CRYPTO("blowfish"); |
diff --git a/crypto/camellia_generic.c b/crypto/camellia_generic.c index 26bcd7a2d6b4..1b74c5a3e891 100644 --- a/crypto/camellia_generic.c +++ b/crypto/camellia_generic.c | |||
@@ -1098,4 +1098,4 @@ module_exit(camellia_fini); | |||
1098 | 1098 | ||
1099 | MODULE_DESCRIPTION("Camellia Cipher Algorithm"); | 1099 | MODULE_DESCRIPTION("Camellia Cipher Algorithm"); |
1100 | MODULE_LICENSE("GPL"); | 1100 | MODULE_LICENSE("GPL"); |
1101 | MODULE_ALIAS("camellia"); | 1101 | MODULE_ALIAS_CRYPTO("camellia"); |
diff --git a/crypto/cast5_generic.c b/crypto/cast5_generic.c index 5558f630a0eb..84c86db67ec7 100644 --- a/crypto/cast5_generic.c +++ b/crypto/cast5_generic.c | |||
@@ -549,4 +549,4 @@ module_exit(cast5_mod_fini); | |||
549 | 549 | ||
550 | MODULE_LICENSE("GPL"); | 550 | MODULE_LICENSE("GPL"); |
551 | MODULE_DESCRIPTION("Cast5 Cipher Algorithm"); | 551 | MODULE_DESCRIPTION("Cast5 Cipher Algorithm"); |
552 | MODULE_ALIAS("cast5"); | 552 | MODULE_ALIAS_CRYPTO("cast5"); |
diff --git a/crypto/cast6_generic.c b/crypto/cast6_generic.c index de732528a430..f408f0bd8de2 100644 --- a/crypto/cast6_generic.c +++ b/crypto/cast6_generic.c | |||
@@ -291,4 +291,4 @@ module_exit(cast6_mod_fini); | |||
291 | 291 | ||
292 | MODULE_LICENSE("GPL"); | 292 | MODULE_LICENSE("GPL"); |
293 | MODULE_DESCRIPTION("Cast6 Cipher Algorithm"); | 293 | MODULE_DESCRIPTION("Cast6 Cipher Algorithm"); |
294 | MODULE_ALIAS("cast6"); | 294 | MODULE_ALIAS_CRYPTO("cast6"); |
diff --git a/crypto/ccm.c b/crypto/ccm.c index 1df84217f7c9..647575b41281 100644 --- a/crypto/ccm.c +++ b/crypto/ccm.c | |||
@@ -879,5 +879,5 @@ module_exit(crypto_ccm_module_exit); | |||
879 | 879 | ||
880 | MODULE_LICENSE("GPL"); | 880 | MODULE_LICENSE("GPL"); |
881 | MODULE_DESCRIPTION("Counter with CBC MAC"); | 881 | MODULE_DESCRIPTION("Counter with CBC MAC"); |
882 | MODULE_ALIAS("ccm_base"); | 882 | MODULE_ALIAS_CRYPTO("ccm_base"); |
883 | MODULE_ALIAS("rfc4309"); | 883 | MODULE_ALIAS_CRYPTO("rfc4309"); |
diff --git a/crypto/crc32.c b/crypto/crc32.c index 9d1c41569898..187ded28cb0b 100644 --- a/crypto/crc32.c +++ b/crypto/crc32.c | |||
@@ -156,3 +156,4 @@ module_exit(crc32_mod_fini); | |||
156 | MODULE_AUTHOR("Alexander Boyko <alexander_boyko@xyratex.com>"); | 156 | MODULE_AUTHOR("Alexander Boyko <alexander_boyko@xyratex.com>"); |
157 | MODULE_DESCRIPTION("CRC32 calculations wrapper for lib/crc32"); | 157 | MODULE_DESCRIPTION("CRC32 calculations wrapper for lib/crc32"); |
158 | MODULE_LICENSE("GPL"); | 158 | MODULE_LICENSE("GPL"); |
159 | MODULE_ALIAS_CRYPTO("crc32"); | ||
diff --git a/crypto/crc32c_generic.c b/crypto/crc32c_generic.c index d9c7beba8e50..2a062025749d 100644 --- a/crypto/crc32c_generic.c +++ b/crypto/crc32c_generic.c | |||
@@ -170,5 +170,5 @@ module_exit(crc32c_mod_fini); | |||
170 | MODULE_AUTHOR("Clay Haapala <chaapala@cisco.com>"); | 170 | MODULE_AUTHOR("Clay Haapala <chaapala@cisco.com>"); |
171 | MODULE_DESCRIPTION("CRC32c (Castagnoli) calculations wrapper for lib/crc32c"); | 171 | MODULE_DESCRIPTION("CRC32c (Castagnoli) calculations wrapper for lib/crc32c"); |
172 | MODULE_LICENSE("GPL"); | 172 | MODULE_LICENSE("GPL"); |
173 | MODULE_ALIAS("crc32c"); | 173 | MODULE_ALIAS_CRYPTO("crc32c"); |
174 | MODULE_SOFTDEP("pre: crc32c"); | 174 | MODULE_SOFTDEP("pre: crc32c"); |
diff --git a/crypto/crct10dif_generic.c b/crypto/crct10dif_generic.c index 877e7114ec5c..08bb4f504520 100644 --- a/crypto/crct10dif_generic.c +++ b/crypto/crct10dif_generic.c | |||
@@ -124,4 +124,4 @@ module_exit(crct10dif_mod_fini); | |||
124 | MODULE_AUTHOR("Tim Chen <tim.c.chen@linux.intel.com>"); | 124 | MODULE_AUTHOR("Tim Chen <tim.c.chen@linux.intel.com>"); |
125 | MODULE_DESCRIPTION("T10 DIF CRC calculation."); | 125 | MODULE_DESCRIPTION("T10 DIF CRC calculation."); |
126 | MODULE_LICENSE("GPL"); | 126 | MODULE_LICENSE("GPL"); |
127 | MODULE_ALIAS("crct10dif"); | 127 | MODULE_ALIAS_CRYPTO("crct10dif"); |
diff --git a/crypto/crypto_null.c b/crypto/crypto_null.c index 1dc54bb95a87..a20319132e33 100644 --- a/crypto/crypto_null.c +++ b/crypto/crypto_null.c | |||
@@ -145,9 +145,9 @@ static struct crypto_alg null_algs[3] = { { | |||
145 | .coa_decompress = null_compress } } | 145 | .coa_decompress = null_compress } } |
146 | } }; | 146 | } }; |
147 | 147 | ||
148 | MODULE_ALIAS("compress_null"); | 148 | MODULE_ALIAS_CRYPTO("compress_null"); |
149 | MODULE_ALIAS("digest_null"); | 149 | MODULE_ALIAS_CRYPTO("digest_null"); |
150 | MODULE_ALIAS("cipher_null"); | 150 | MODULE_ALIAS_CRYPTO("cipher_null"); |
151 | 151 | ||
152 | static int __init crypto_null_mod_init(void) | 152 | static int __init crypto_null_mod_init(void) |
153 | { | 153 | { |
diff --git a/crypto/ctr.c b/crypto/ctr.c index f2b94f27bb2c..3d81ff7e6b48 100644 --- a/crypto/ctr.c +++ b/crypto/ctr.c | |||
@@ -466,4 +466,4 @@ module_exit(crypto_ctr_module_exit); | |||
466 | 466 | ||
467 | MODULE_LICENSE("GPL"); | 467 | MODULE_LICENSE("GPL"); |
468 | MODULE_DESCRIPTION("CTR Counter block mode"); | 468 | MODULE_DESCRIPTION("CTR Counter block mode"); |
469 | MODULE_ALIAS("rfc3686"); | 469 | MODULE_ALIAS_CRYPTO("rfc3686"); |
diff --git a/crypto/deflate.c b/crypto/deflate.c index b57d70eb156b..95d8d37c5021 100644 --- a/crypto/deflate.c +++ b/crypto/deflate.c | |||
@@ -222,4 +222,4 @@ module_exit(deflate_mod_fini); | |||
222 | MODULE_LICENSE("GPL"); | 222 | MODULE_LICENSE("GPL"); |
223 | MODULE_DESCRIPTION("Deflate Compression Algorithm for IPCOMP"); | 223 | MODULE_DESCRIPTION("Deflate Compression Algorithm for IPCOMP"); |
224 | MODULE_AUTHOR("James Morris <jmorris@intercode.com.au>"); | 224 | MODULE_AUTHOR("James Morris <jmorris@intercode.com.au>"); |
225 | 225 | MODULE_ALIAS_CRYPTO("deflate"); | |
diff --git a/crypto/des_generic.c b/crypto/des_generic.c index 298d464ab7d2..42912948776b 100644 --- a/crypto/des_generic.c +++ b/crypto/des_generic.c | |||
@@ -983,7 +983,7 @@ static struct crypto_alg des_algs[2] = { { | |||
983 | .cia_decrypt = des3_ede_decrypt } } | 983 | .cia_decrypt = des3_ede_decrypt } } |
984 | } }; | 984 | } }; |
985 | 985 | ||
986 | MODULE_ALIAS("des3_ede"); | 986 | MODULE_ALIAS_CRYPTO("des3_ede"); |
987 | 987 | ||
988 | static int __init des_generic_mod_init(void) | 988 | static int __init des_generic_mod_init(void) |
989 | { | 989 | { |
diff --git a/crypto/fcrypt.c b/crypto/fcrypt.c index 021d7fec6bc8..77286ea28865 100644 --- a/crypto/fcrypt.c +++ b/crypto/fcrypt.c | |||
@@ -420,3 +420,4 @@ module_exit(fcrypt_mod_fini); | |||
420 | MODULE_LICENSE("Dual BSD/GPL"); | 420 | MODULE_LICENSE("Dual BSD/GPL"); |
421 | MODULE_DESCRIPTION("FCrypt Cipher Algorithm"); | 421 | MODULE_DESCRIPTION("FCrypt Cipher Algorithm"); |
422 | MODULE_AUTHOR("David Howells <dhowells@redhat.com>"); | 422 | MODULE_AUTHOR("David Howells <dhowells@redhat.com>"); |
423 | MODULE_ALIAS_CRYPTO("fcrypt"); | ||
diff --git a/crypto/gcm.c b/crypto/gcm.c index 276cdac567b6..aefb74a3f522 100644 --- a/crypto/gcm.c +++ b/crypto/gcm.c | |||
@@ -1441,6 +1441,6 @@ module_exit(crypto_gcm_module_exit); | |||
1441 | MODULE_LICENSE("GPL"); | 1441 | MODULE_LICENSE("GPL"); |
1442 | MODULE_DESCRIPTION("Galois/Counter Mode"); | 1442 | MODULE_DESCRIPTION("Galois/Counter Mode"); |
1443 | MODULE_AUTHOR("Mikko Herranen <mh1@iki.fi>"); | 1443 | MODULE_AUTHOR("Mikko Herranen <mh1@iki.fi>"); |
1444 | MODULE_ALIAS("gcm_base"); | 1444 | MODULE_ALIAS_CRYPTO("gcm_base"); |
1445 | MODULE_ALIAS("rfc4106"); | 1445 | MODULE_ALIAS_CRYPTO("rfc4106"); |
1446 | MODULE_ALIAS("rfc4543"); | 1446 | MODULE_ALIAS_CRYPTO("rfc4543"); |
diff --git a/crypto/ghash-generic.c b/crypto/ghash-generic.c index 9d3f0c69a86f..4e97fae9666f 100644 --- a/crypto/ghash-generic.c +++ b/crypto/ghash-generic.c | |||
@@ -172,4 +172,4 @@ module_exit(ghash_mod_exit); | |||
172 | 172 | ||
173 | MODULE_LICENSE("GPL"); | 173 | MODULE_LICENSE("GPL"); |
174 | MODULE_DESCRIPTION("GHASH Message Digest Algorithm"); | 174 | MODULE_DESCRIPTION("GHASH Message Digest Algorithm"); |
175 | MODULE_ALIAS("ghash"); | 175 | MODULE_ALIAS_CRYPTO("ghash"); |
diff --git a/crypto/khazad.c b/crypto/khazad.c index 60e7cd66facc..873eb5ded6d7 100644 --- a/crypto/khazad.c +++ b/crypto/khazad.c | |||
@@ -880,3 +880,4 @@ module_exit(khazad_mod_fini); | |||
880 | 880 | ||
881 | MODULE_LICENSE("GPL"); | 881 | MODULE_LICENSE("GPL"); |
882 | MODULE_DESCRIPTION("Khazad Cryptographic Algorithm"); | 882 | MODULE_DESCRIPTION("Khazad Cryptographic Algorithm"); |
883 | MODULE_ALIAS_CRYPTO("khazad"); | ||
diff --git a/crypto/krng.c b/crypto/krng.c index a2d2b72fc135..67c88b331210 100644 --- a/crypto/krng.c +++ b/crypto/krng.c | |||
@@ -62,4 +62,4 @@ module_exit(krng_mod_fini); | |||
62 | 62 | ||
63 | MODULE_LICENSE("GPL"); | 63 | MODULE_LICENSE("GPL"); |
64 | MODULE_DESCRIPTION("Kernel Random Number Generator"); | 64 | MODULE_DESCRIPTION("Kernel Random Number Generator"); |
65 | MODULE_ALIAS("stdrng"); | 65 | MODULE_ALIAS_CRYPTO("stdrng"); |
diff --git a/crypto/lz4.c b/crypto/lz4.c index 34d072b72a73..aefbceaf3104 100644 --- a/crypto/lz4.c +++ b/crypto/lz4.c | |||
@@ -104,3 +104,4 @@ module_exit(lz4_mod_fini); | |||
104 | 104 | ||
105 | MODULE_LICENSE("GPL"); | 105 | MODULE_LICENSE("GPL"); |
106 | MODULE_DESCRIPTION("LZ4 Compression Algorithm"); | 106 | MODULE_DESCRIPTION("LZ4 Compression Algorithm"); |
107 | MODULE_ALIAS_CRYPTO("lz4"); | ||
diff --git a/crypto/lz4hc.c b/crypto/lz4hc.c index 9218b3fed5e3..a1d3b5bd3d85 100644 --- a/crypto/lz4hc.c +++ b/crypto/lz4hc.c | |||
@@ -104,3 +104,4 @@ module_exit(lz4hc_mod_fini); | |||
104 | 104 | ||
105 | MODULE_LICENSE("GPL"); | 105 | MODULE_LICENSE("GPL"); |
106 | MODULE_DESCRIPTION("LZ4HC Compression Algorithm"); | 106 | MODULE_DESCRIPTION("LZ4HC Compression Algorithm"); |
107 | MODULE_ALIAS_CRYPTO("lz4hc"); | ||
diff --git a/crypto/lzo.c b/crypto/lzo.c index a8ff2f778dc4..4b3e92525dac 100644 --- a/crypto/lzo.c +++ b/crypto/lzo.c | |||
@@ -107,3 +107,4 @@ module_exit(lzo_mod_fini); | |||
107 | 107 | ||
108 | MODULE_LICENSE("GPL"); | 108 | MODULE_LICENSE("GPL"); |
109 | MODULE_DESCRIPTION("LZO Compression Algorithm"); | 109 | MODULE_DESCRIPTION("LZO Compression Algorithm"); |
110 | MODULE_ALIAS_CRYPTO("lzo"); | ||
diff --git a/crypto/md4.c b/crypto/md4.c index 0477a6a01d58..3515af425cc9 100644 --- a/crypto/md4.c +++ b/crypto/md4.c | |||
@@ -255,4 +255,4 @@ module_exit(md4_mod_fini); | |||
255 | 255 | ||
256 | MODULE_LICENSE("GPL"); | 256 | MODULE_LICENSE("GPL"); |
257 | MODULE_DESCRIPTION("MD4 Message Digest Algorithm"); | 257 | MODULE_DESCRIPTION("MD4 Message Digest Algorithm"); |
258 | 258 | MODULE_ALIAS_CRYPTO("md4"); | |
diff --git a/crypto/md5.c b/crypto/md5.c index 7febeaab923b..36f5e5b103f3 100644 --- a/crypto/md5.c +++ b/crypto/md5.c | |||
@@ -168,3 +168,4 @@ module_exit(md5_mod_fini); | |||
168 | 168 | ||
169 | MODULE_LICENSE("GPL"); | 169 | MODULE_LICENSE("GPL"); |
170 | MODULE_DESCRIPTION("MD5 Message Digest Algorithm"); | 170 | MODULE_DESCRIPTION("MD5 Message Digest Algorithm"); |
171 | MODULE_ALIAS_CRYPTO("md5"); | ||
diff --git a/crypto/michael_mic.c b/crypto/michael_mic.c index 079b761bc70d..46195e0d0f4d 100644 --- a/crypto/michael_mic.c +++ b/crypto/michael_mic.c | |||
@@ -184,3 +184,4 @@ module_exit(michael_mic_exit); | |||
184 | MODULE_LICENSE("GPL v2"); | 184 | MODULE_LICENSE("GPL v2"); |
185 | MODULE_DESCRIPTION("Michael MIC"); | 185 | MODULE_DESCRIPTION("Michael MIC"); |
186 | MODULE_AUTHOR("Jouni Malinen <j@w1.fi>"); | 186 | MODULE_AUTHOR("Jouni Malinen <j@w1.fi>"); |
187 | MODULE_ALIAS_CRYPTO("michael_mic"); | ||
diff --git a/crypto/rmd128.c b/crypto/rmd128.c index 8a0f68b7f257..049486ede938 100644 --- a/crypto/rmd128.c +++ b/crypto/rmd128.c | |||
@@ -327,3 +327,4 @@ module_exit(rmd128_mod_fini); | |||
327 | MODULE_LICENSE("GPL"); | 327 | MODULE_LICENSE("GPL"); |
328 | MODULE_AUTHOR("Adrian-Ken Rueegsegger <ken@codelabs.ch>"); | 328 | MODULE_AUTHOR("Adrian-Ken Rueegsegger <ken@codelabs.ch>"); |
329 | MODULE_DESCRIPTION("RIPEMD-128 Message Digest"); | 329 | MODULE_DESCRIPTION("RIPEMD-128 Message Digest"); |
330 | MODULE_ALIAS_CRYPTO("rmd128"); | ||
diff --git a/crypto/rmd160.c b/crypto/rmd160.c index 525d7bb752cf..de585e51d455 100644 --- a/crypto/rmd160.c +++ b/crypto/rmd160.c | |||
@@ -371,3 +371,4 @@ module_exit(rmd160_mod_fini); | |||
371 | MODULE_LICENSE("GPL"); | 371 | MODULE_LICENSE("GPL"); |
372 | MODULE_AUTHOR("Adrian-Ken Rueegsegger <ken@codelabs.ch>"); | 372 | MODULE_AUTHOR("Adrian-Ken Rueegsegger <ken@codelabs.ch>"); |
373 | MODULE_DESCRIPTION("RIPEMD-160 Message Digest"); | 373 | MODULE_DESCRIPTION("RIPEMD-160 Message Digest"); |
374 | MODULE_ALIAS_CRYPTO("rmd160"); | ||
diff --git a/crypto/rmd256.c b/crypto/rmd256.c index 69293d9b56e0..4ec02a754e09 100644 --- a/crypto/rmd256.c +++ b/crypto/rmd256.c | |||
@@ -346,3 +346,4 @@ module_exit(rmd256_mod_fini); | |||
346 | MODULE_LICENSE("GPL"); | 346 | MODULE_LICENSE("GPL"); |
347 | MODULE_AUTHOR("Adrian-Ken Rueegsegger <ken@codelabs.ch>"); | 347 | MODULE_AUTHOR("Adrian-Ken Rueegsegger <ken@codelabs.ch>"); |
348 | MODULE_DESCRIPTION("RIPEMD-256 Message Digest"); | 348 | MODULE_DESCRIPTION("RIPEMD-256 Message Digest"); |
349 | MODULE_ALIAS_CRYPTO("rmd256"); | ||
diff --git a/crypto/rmd320.c b/crypto/rmd320.c index 09f97dfdfbba..770f2cb369f8 100644 --- a/crypto/rmd320.c +++ b/crypto/rmd320.c | |||
@@ -395,3 +395,4 @@ module_exit(rmd320_mod_fini); | |||
395 | MODULE_LICENSE("GPL"); | 395 | MODULE_LICENSE("GPL"); |
396 | MODULE_AUTHOR("Adrian-Ken Rueegsegger <ken@codelabs.ch>"); | 396 | MODULE_AUTHOR("Adrian-Ken Rueegsegger <ken@codelabs.ch>"); |
397 | MODULE_DESCRIPTION("RIPEMD-320 Message Digest"); | 397 | MODULE_DESCRIPTION("RIPEMD-320 Message Digest"); |
398 | MODULE_ALIAS_CRYPTO("rmd320"); | ||
diff --git a/crypto/salsa20_generic.c b/crypto/salsa20_generic.c index 9a4770c02284..3d0f9df30ac9 100644 --- a/crypto/salsa20_generic.c +++ b/crypto/salsa20_generic.c | |||
@@ -248,4 +248,4 @@ module_exit(salsa20_generic_mod_fini); | |||
248 | 248 | ||
249 | MODULE_LICENSE("GPL"); | 249 | MODULE_LICENSE("GPL"); |
250 | MODULE_DESCRIPTION ("Salsa20 stream cipher algorithm"); | 250 | MODULE_DESCRIPTION ("Salsa20 stream cipher algorithm"); |
251 | MODULE_ALIAS("salsa20"); | 251 | MODULE_ALIAS_CRYPTO("salsa20"); |
diff --git a/crypto/seed.c b/crypto/seed.c index 9c904d6d2151..c6ba8438be43 100644 --- a/crypto/seed.c +++ b/crypto/seed.c | |||
@@ -476,3 +476,4 @@ module_exit(seed_fini); | |||
476 | MODULE_DESCRIPTION("SEED Cipher Algorithm"); | 476 | MODULE_DESCRIPTION("SEED Cipher Algorithm"); |
477 | MODULE_LICENSE("GPL"); | 477 | MODULE_LICENSE("GPL"); |
478 | MODULE_AUTHOR("Hye-Shik Chang <perky@FreeBSD.org>, Kim Hyun <hkim@kisa.or.kr>"); | 478 | MODULE_AUTHOR("Hye-Shik Chang <perky@FreeBSD.org>, Kim Hyun <hkim@kisa.or.kr>"); |
479 | MODULE_ALIAS_CRYPTO("seed"); | ||
diff --git a/crypto/serpent_generic.c b/crypto/serpent_generic.c index 7ddbd7e88859..a53b5e2af335 100644 --- a/crypto/serpent_generic.c +++ b/crypto/serpent_generic.c | |||
@@ -665,5 +665,5 @@ module_exit(serpent_mod_fini); | |||
665 | MODULE_LICENSE("GPL"); | 665 | MODULE_LICENSE("GPL"); |
666 | MODULE_DESCRIPTION("Serpent and tnepres (kerneli compatible serpent reversed) Cipher Algorithm"); | 666 | MODULE_DESCRIPTION("Serpent and tnepres (kerneli compatible serpent reversed) Cipher Algorithm"); |
667 | MODULE_AUTHOR("Dag Arne Osvik <osvik@ii.uib.no>"); | 667 | MODULE_AUTHOR("Dag Arne Osvik <osvik@ii.uib.no>"); |
668 | MODULE_ALIAS("tnepres"); | 668 | MODULE_ALIAS_CRYPTO("tnepres"); |
669 | MODULE_ALIAS("serpent"); | 669 | MODULE_ALIAS_CRYPTO("serpent"); |
diff --git a/crypto/sha1_generic.c b/crypto/sha1_generic.c index 7bb047432782..039e58cfa155 100644 --- a/crypto/sha1_generic.c +++ b/crypto/sha1_generic.c | |||
@@ -153,4 +153,4 @@ module_exit(sha1_generic_mod_fini); | |||
153 | MODULE_LICENSE("GPL"); | 153 | MODULE_LICENSE("GPL"); |
154 | MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm"); | 154 | MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm"); |
155 | 155 | ||
156 | MODULE_ALIAS("sha1"); | 156 | MODULE_ALIAS_CRYPTO("sha1"); |
diff --git a/crypto/sha256_generic.c b/crypto/sha256_generic.c index 65e7b76b057f..5eb21b120033 100644 --- a/crypto/sha256_generic.c +++ b/crypto/sha256_generic.c | |||
@@ -384,5 +384,5 @@ module_exit(sha256_generic_mod_fini); | |||
384 | MODULE_LICENSE("GPL"); | 384 | MODULE_LICENSE("GPL"); |
385 | MODULE_DESCRIPTION("SHA-224 and SHA-256 Secure Hash Algorithm"); | 385 | MODULE_DESCRIPTION("SHA-224 and SHA-256 Secure Hash Algorithm"); |
386 | 386 | ||
387 | MODULE_ALIAS("sha224"); | 387 | MODULE_ALIAS_CRYPTO("sha224"); |
388 | MODULE_ALIAS("sha256"); | 388 | MODULE_ALIAS_CRYPTO("sha256"); |
diff --git a/crypto/sha512_generic.c b/crypto/sha512_generic.c index 95db67197cd9..8d0b19ed4f4b 100644 --- a/crypto/sha512_generic.c +++ b/crypto/sha512_generic.c | |||
@@ -288,5 +288,5 @@ module_exit(sha512_generic_mod_fini); | |||
288 | MODULE_LICENSE("GPL"); | 288 | MODULE_LICENSE("GPL"); |
289 | MODULE_DESCRIPTION("SHA-512 and SHA-384 Secure Hash Algorithms"); | 289 | MODULE_DESCRIPTION("SHA-512 and SHA-384 Secure Hash Algorithms"); |
290 | 290 | ||
291 | MODULE_ALIAS("sha384"); | 291 | MODULE_ALIAS_CRYPTO("sha384"); |
292 | MODULE_ALIAS("sha512"); | 292 | MODULE_ALIAS_CRYPTO("sha512"); |
diff --git a/crypto/tea.c b/crypto/tea.c index 0a572323ee4a..495be2d0077d 100644 --- a/crypto/tea.c +++ b/crypto/tea.c | |||
@@ -270,8 +270,8 @@ static void __exit tea_mod_fini(void) | |||
270 | crypto_unregister_algs(tea_algs, ARRAY_SIZE(tea_algs)); | 270 | crypto_unregister_algs(tea_algs, ARRAY_SIZE(tea_algs)); |
271 | } | 271 | } |
272 | 272 | ||
273 | MODULE_ALIAS("xtea"); | 273 | MODULE_ALIAS_CRYPTO("xtea"); |
274 | MODULE_ALIAS("xeta"); | 274 | MODULE_ALIAS_CRYPTO("xeta"); |
275 | 275 | ||
276 | module_init(tea_mod_init); | 276 | module_init(tea_mod_init); |
277 | module_exit(tea_mod_fini); | 277 | module_exit(tea_mod_fini); |
diff --git a/crypto/tgr192.c b/crypto/tgr192.c index 3c7af0d1ff7a..6e5651c66cf8 100644 --- a/crypto/tgr192.c +++ b/crypto/tgr192.c | |||
@@ -676,8 +676,8 @@ static void __exit tgr192_mod_fini(void) | |||
676 | crypto_unregister_shashes(tgr_algs, ARRAY_SIZE(tgr_algs)); | 676 | crypto_unregister_shashes(tgr_algs, ARRAY_SIZE(tgr_algs)); |
677 | } | 677 | } |
678 | 678 | ||
679 | MODULE_ALIAS("tgr160"); | 679 | MODULE_ALIAS_CRYPTO("tgr160"); |
680 | MODULE_ALIAS("tgr128"); | 680 | MODULE_ALIAS_CRYPTO("tgr128"); |
681 | 681 | ||
682 | module_init(tgr192_mod_init); | 682 | module_init(tgr192_mod_init); |
683 | module_exit(tgr192_mod_fini); | 683 | module_exit(tgr192_mod_fini); |
diff --git a/crypto/twofish_generic.c b/crypto/twofish_generic.c index 2d5000552d0f..523ad8c4e359 100644 --- a/crypto/twofish_generic.c +++ b/crypto/twofish_generic.c | |||
@@ -211,4 +211,4 @@ module_exit(twofish_mod_fini); | |||
211 | 211 | ||
212 | MODULE_LICENSE("GPL"); | 212 | MODULE_LICENSE("GPL"); |
213 | MODULE_DESCRIPTION ("Twofish Cipher Algorithm"); | 213 | MODULE_DESCRIPTION ("Twofish Cipher Algorithm"); |
214 | MODULE_ALIAS("twofish"); | 214 | MODULE_ALIAS_CRYPTO("twofish"); |
diff --git a/crypto/wp512.c b/crypto/wp512.c index ec64e7762fbb..0de42eb3d040 100644 --- a/crypto/wp512.c +++ b/crypto/wp512.c | |||
@@ -1167,8 +1167,8 @@ static void __exit wp512_mod_fini(void) | |||
1167 | crypto_unregister_shashes(wp_algs, ARRAY_SIZE(wp_algs)); | 1167 | crypto_unregister_shashes(wp_algs, ARRAY_SIZE(wp_algs)); |
1168 | } | 1168 | } |
1169 | 1169 | ||
1170 | MODULE_ALIAS("wp384"); | 1170 | MODULE_ALIAS_CRYPTO("wp384"); |
1171 | MODULE_ALIAS("wp256"); | 1171 | MODULE_ALIAS_CRYPTO("wp256"); |
1172 | 1172 | ||
1173 | module_init(wp512_mod_init); | 1173 | module_init(wp512_mod_init); |
1174 | module_exit(wp512_mod_fini); | 1174 | module_exit(wp512_mod_fini); |
diff --git a/crypto/zlib.c b/crypto/zlib.c index c9ee681d57fd..0eefa9d237ac 100644 --- a/crypto/zlib.c +++ b/crypto/zlib.c | |||
@@ -378,3 +378,4 @@ module_exit(zlib_mod_fini); | |||
378 | MODULE_LICENSE("GPL"); | 378 | MODULE_LICENSE("GPL"); |
379 | MODULE_DESCRIPTION("Zlib Compression Algorithm"); | 379 | MODULE_DESCRIPTION("Zlib Compression Algorithm"); |
380 | MODULE_AUTHOR("Sony Corporation"); | 380 | MODULE_AUTHOR("Sony Corporation"); |
381 | MODULE_ALIAS_CRYPTO("zlib"); | ||
diff --git a/drivers/crypto/padlock-aes.c b/drivers/crypto/padlock-aes.c index 633ba945e153..c178ed8c3908 100644 --- a/drivers/crypto/padlock-aes.c +++ b/drivers/crypto/padlock-aes.c | |||
@@ -563,4 +563,4 @@ MODULE_DESCRIPTION("VIA PadLock AES algorithm support"); | |||
563 | MODULE_LICENSE("GPL"); | 563 | MODULE_LICENSE("GPL"); |
564 | MODULE_AUTHOR("Michal Ludvig"); | 564 | MODULE_AUTHOR("Michal Ludvig"); |
565 | 565 | ||
566 | MODULE_ALIAS("aes"); | 566 | MODULE_ALIAS_CRYPTO("aes"); |
diff --git a/drivers/crypto/padlock-sha.c b/drivers/crypto/padlock-sha.c index bace885634f2..95f7d27ce491 100644 --- a/drivers/crypto/padlock-sha.c +++ b/drivers/crypto/padlock-sha.c | |||
@@ -593,7 +593,7 @@ MODULE_DESCRIPTION("VIA PadLock SHA1/SHA256 algorithms support."); | |||
593 | MODULE_LICENSE("GPL"); | 593 | MODULE_LICENSE("GPL"); |
594 | MODULE_AUTHOR("Michal Ludvig"); | 594 | MODULE_AUTHOR("Michal Ludvig"); |
595 | 595 | ||
596 | MODULE_ALIAS("sha1-all"); | 596 | MODULE_ALIAS_CRYPTO("sha1-all"); |
597 | MODULE_ALIAS("sha256-all"); | 597 | MODULE_ALIAS_CRYPTO("sha256-all"); |
598 | MODULE_ALIAS("sha1-padlock"); | 598 | MODULE_ALIAS_CRYPTO("sha1-padlock"); |
599 | MODULE_ALIAS("sha256-padlock"); | 599 | MODULE_ALIAS_CRYPTO("sha256-padlock"); |
diff --git a/drivers/crypto/qat/qat_common/adf_ctl_drv.c b/drivers/crypto/qat/qat_common/adf_ctl_drv.c index 244d73378f0e..7ee93f881db6 100644 --- a/drivers/crypto/qat/qat_common/adf_ctl_drv.c +++ b/drivers/crypto/qat/qat_common/adf_ctl_drv.c | |||
@@ -52,6 +52,7 @@ | |||
52 | #include <linux/pci.h> | 52 | #include <linux/pci.h> |
53 | #include <linux/cdev.h> | 53 | #include <linux/cdev.h> |
54 | #include <linux/uaccess.h> | 54 | #include <linux/uaccess.h> |
55 | #include <linux/crypto.h> | ||
55 | 56 | ||
56 | #include "adf_accel_devices.h" | 57 | #include "adf_accel_devices.h" |
57 | #include "adf_common_drv.h" | 58 | #include "adf_common_drv.h" |
@@ -487,4 +488,4 @@ module_exit(adf_unregister_ctl_device_driver); | |||
487 | MODULE_LICENSE("Dual BSD/GPL"); | 488 | MODULE_LICENSE("Dual BSD/GPL"); |
488 | MODULE_AUTHOR("Intel"); | 489 | MODULE_AUTHOR("Intel"); |
489 | MODULE_DESCRIPTION("Intel(R) QuickAssist Technology"); | 490 | MODULE_DESCRIPTION("Intel(R) QuickAssist Technology"); |
490 | MODULE_ALIAS("intel_qat"); | 491 | MODULE_ALIAS_CRYPTO("intel_qat"); |
diff --git a/drivers/crypto/ux500/cryp/cryp_core.c b/drivers/crypto/ux500/cryp/cryp_core.c index 83811aab207e..7c035de9055e 100644 --- a/drivers/crypto/ux500/cryp/cryp_core.c +++ b/drivers/crypto/ux500/cryp/cryp_core.c | |||
@@ -1812,7 +1812,7 @@ module_exit(ux500_cryp_mod_fini); | |||
1812 | module_param(cryp_mode, int, 0); | 1812 | module_param(cryp_mode, int, 0); |
1813 | 1813 | ||
1814 | MODULE_DESCRIPTION("Driver for ST-Ericsson UX500 CRYP crypto engine."); | 1814 | MODULE_DESCRIPTION("Driver for ST-Ericsson UX500 CRYP crypto engine."); |
1815 | MODULE_ALIAS("aes-all"); | 1815 | MODULE_ALIAS_CRYPTO("aes-all"); |
1816 | MODULE_ALIAS("des-all"); | 1816 | MODULE_ALIAS_CRYPTO("des-all"); |
1817 | 1817 | ||
1818 | MODULE_LICENSE("GPL"); | 1818 | MODULE_LICENSE("GPL"); |
diff --git a/drivers/crypto/ux500/hash/hash_core.c b/drivers/crypto/ux500/hash/hash_core.c index 5af53b5508b0..76ecc8d143d0 100644 --- a/drivers/crypto/ux500/hash/hash_core.c +++ b/drivers/crypto/ux500/hash/hash_core.c | |||
@@ -1997,7 +1997,7 @@ module_exit(ux500_hash_mod_fini); | |||
1997 | MODULE_DESCRIPTION("Driver for ST-Ericsson UX500 HASH engine."); | 1997 | MODULE_DESCRIPTION("Driver for ST-Ericsson UX500 HASH engine."); |
1998 | MODULE_LICENSE("GPL"); | 1998 | MODULE_LICENSE("GPL"); |
1999 | 1999 | ||
2000 | MODULE_ALIAS("sha1-all"); | 2000 | MODULE_ALIAS_CRYPTO("sha1-all"); |
2001 | MODULE_ALIAS("sha256-all"); | 2001 | MODULE_ALIAS_CRYPTO("sha256-all"); |
2002 | MODULE_ALIAS("hmac-sha1-all"); | 2002 | MODULE_ALIAS_CRYPTO("hmac-sha1-all"); |
2003 | MODULE_ALIAS("hmac-sha256-all"); | 2003 | MODULE_ALIAS_CRYPTO("hmac-sha256-all"); |
diff --git a/drivers/s390/crypto/ap_bus.c b/drivers/s390/crypto/ap_bus.c index 99485415dcc2..91e97ec01418 100644 --- a/drivers/s390/crypto/ap_bus.c +++ b/drivers/s390/crypto/ap_bus.c | |||
@@ -44,6 +44,7 @@ | |||
44 | #include <linux/hrtimer.h> | 44 | #include <linux/hrtimer.h> |
45 | #include <linux/ktime.h> | 45 | #include <linux/ktime.h> |
46 | #include <asm/facility.h> | 46 | #include <asm/facility.h> |
47 | #include <linux/crypto.h> | ||
47 | 48 | ||
48 | #include "ap_bus.h" | 49 | #include "ap_bus.h" |
49 | 50 | ||
@@ -71,7 +72,7 @@ MODULE_AUTHOR("IBM Corporation"); | |||
71 | MODULE_DESCRIPTION("Adjunct Processor Bus driver, " \ | 72 | MODULE_DESCRIPTION("Adjunct Processor Bus driver, " \ |
72 | "Copyright IBM Corp. 2006, 2012"); | 73 | "Copyright IBM Corp. 2006, 2012"); |
73 | MODULE_LICENSE("GPL"); | 74 | MODULE_LICENSE("GPL"); |
74 | MODULE_ALIAS("z90crypt"); | 75 | MODULE_ALIAS_CRYPTO("z90crypt"); |
75 | 76 | ||
76 | /* | 77 | /* |
77 | * Module parameter | 78 | * Module parameter |
diff --git a/include/linux/crypto.h b/include/linux/crypto.h index 208a63290b23..9c8776d0ada8 100644 --- a/include/linux/crypto.h +++ b/include/linux/crypto.h | |||
@@ -26,6 +26,19 @@ | |||
26 | #include <linux/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | 27 | ||
28 | /* | 28 | /* |
29 | * Autoloaded crypto modules should only use a prefixed name to avoid allowing | ||
30 | * arbitrary modules to be loaded. Loading from userspace may still need the | ||
31 | * unprefixed names, so retains those aliases as well. | ||
32 | * This uses __MODULE_INFO directly instead of MODULE_ALIAS because pre-4.3 | ||
33 | * gcc (e.g. avr32 toolchain) uses __LINE__ for uniqueness, and this macro | ||
34 | * expands twice on the same line. Instead, use a separate base name for the | ||
35 | * alias. | ||
36 | */ | ||
37 | #define MODULE_ALIAS_CRYPTO(name) \ | ||
38 | __MODULE_INFO(alias, alias_userspace, name); \ | ||
39 | __MODULE_INFO(alias, alias_crypto, "crypto-" name) | ||
40 | |||
41 | /* | ||
29 | * Algorithm masks and types. | 42 | * Algorithm masks and types. |
30 | */ | 43 | */ |
31 | #define CRYPTO_ALG_TYPE_MASK 0x0000000f | 44 | #define CRYPTO_ALG_TYPE_MASK 0x0000000f |