linux/crypto
Mathias Krause 85976492d2 crypto: add missing crypto module aliases
commit 3e14dcf7cb upstream.

Commit 5d26a105b5 ("crypto: prefix module autoloading with "crypto-"")
changed the automatic module loading when requesting crypto algorithms
to prefix all module requests with "crypto-". This requires all crypto
modules to have a crypto specific module alias even if their file name
would otherwise match the requested crypto algorithm.

Even though commit 5d26a105b5 added those aliases for a vast amount of
modules, it was missing a few. Add the required MODULE_ALIAS_CRYPTO
annotations to those files to make them get loaded automatically, again.
This fixes, e.g., requesting 'ecb(blowfish-generic)', which used to work
with kernels v3.18 and below.

Also change MODULE_ALIAS() lines to MODULE_ALIAS_CRYPTO(). The former
won't work for crypto modules any more.

Fixes: 5d26a105b5 ("crypto: prefix module autoloading with "crypto-"")
Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-01-29 17:40:50 -08:00
..
asymmetric_keys
async_tx
842.c crypto: prefix module autoloading with "crypto-" 2015-01-29 17:40:50 -08:00
Kconfig
Makefile
ablk_helper.c
ablkcipher.c
aead.c
aes_generic.c crypto: add missing crypto module aliases 2015-01-29 17:40:50 -08:00
af_alg.c crypto: af_alg - fix backlog handling 2015-01-08 10:00:50 -08:00
ahash.c
algapi.c crypto: include crypto- module prefix in template 2015-01-29 17:40:50 -08:00
algboss.c
algif_hash.c
algif_skcipher.c
ansi_cprng.c crypto: add missing crypto module aliases 2015-01-29 17:40:50 -08:00
anubis.c crypto: prefix module autoloading with "crypto-" 2015-01-29 17:40:50 -08:00
api.c crypto: prefix module autoloading with "crypto-" 2015-01-29 17:40:50 -08:00
arc4.c crypto: prefix module autoloading with "crypto-" 2015-01-29 17:40:50 -08:00
authenc.c crypto: include crypto- module prefix in template 2015-01-29 17:40:50 -08:00
authencesn.c crypto: include crypto- module prefix in template 2015-01-29 17:40:50 -08:00
blkcipher.c
blowfish_common.c
blowfish_generic.c crypto: add missing crypto module aliases 2015-01-29 17:40:50 -08:00
camellia_generic.c crypto: add missing crypto module aliases 2015-01-29 17:40:50 -08:00
cast5_generic.c crypto: add missing crypto module aliases 2015-01-29 17:40:50 -08:00
cast6_generic.c crypto: add missing crypto module aliases 2015-01-29 17:40:50 -08:00
cast_common.c
cbc.c crypto: include crypto- module prefix in template 2015-01-29 17:40:50 -08:00
ccm.c crypto: include crypto- module prefix in template 2015-01-29 17:40:50 -08:00
chainiv.c crypto: include crypto- module prefix in template 2015-01-29 17:40:50 -08:00
cipher.c
cmac.c crypto: include crypto- module prefix in template 2015-01-29 17:40:50 -08:00
compress.c
crc32.c crypto: prefix module autoloading with "crypto-" 2015-01-29 17:40:50 -08:00
crc32c.c
crct10dif_common.c
crct10dif_generic.c crypto: add missing crypto module aliases 2015-01-29 17:40:50 -08:00
cryptd.c crypto: include crypto- module prefix in template 2015-01-29 17:40:50 -08:00
crypto_null.c crypto: prefix module autoloading with "crypto-" 2015-01-29 17:40:50 -08:00
crypto_user.c
crypto_wq.c
ctr.c crypto: include crypto- module prefix in template 2015-01-29 17:40:50 -08:00
cts.c crypto: include crypto- module prefix in template 2015-01-29 17:40:50 -08:00
deflate.c crypto: prefix module autoloading with "crypto-" 2015-01-29 17:40:50 -08:00
des_generic.c crypto: add missing crypto module aliases 2015-01-29 17:40:50 -08:00
ecb.c crypto: include crypto- module prefix in template 2015-01-29 17:40:50 -08:00
eseqiv.c crypto: include crypto- module prefix in template 2015-01-29 17:40:50 -08:00
fcrypt.c crypto: prefix module autoloading with "crypto-" 2015-01-29 17:40:50 -08:00
fips.c
gcm.c crypto: include crypto- module prefix in template 2015-01-29 17:40:50 -08:00
gf128mul.c
ghash-generic.c crypto: add missing crypto module aliases 2015-01-29 17:40:50 -08:00
hash_info.c
hmac.c crypto: include crypto- module prefix in template 2015-01-29 17:40:50 -08:00
internal.h
khazad.c crypto: prefix module autoloading with "crypto-" 2015-01-29 17:40:50 -08:00
krng.c crypto: add missing crypto module aliases 2015-01-29 17:40:50 -08:00
lrw.c crypto: include crypto- module prefix in template 2015-01-29 17:40:50 -08:00
lz4.c crypto: prefix module autoloading with "crypto-" 2015-01-29 17:40:50 -08:00
lz4hc.c crypto: prefix module autoloading with "crypto-" 2015-01-29 17:40:50 -08:00
lzo.c crypto: prefix module autoloading with "crypto-" 2015-01-29 17:40:50 -08:00
md4.c crypto: prefix module autoloading with "crypto-" 2015-01-29 17:40:50 -08:00
md5.c crypto: prefix module autoloading with "crypto-" 2015-01-29 17:40:50 -08:00
memneq.c
michael_mic.c crypto: prefix module autoloading with "crypto-" 2015-01-29 17:40:50 -08:00
pcbc.c crypto: include crypto- module prefix in template 2015-01-29 17:40:50 -08:00
pcompress.c
pcrypt.c crypto: include crypto- module prefix in template 2015-01-29 17:40:50 -08:00
proc.c
ripemd.h
rmd128.c crypto: prefix module autoloading with "crypto-" 2015-01-29 17:40:50 -08:00
rmd160.c crypto: prefix module autoloading with "crypto-" 2015-01-29 17:40:50 -08:00
rmd256.c crypto: prefix module autoloading with "crypto-" 2015-01-29 17:40:50 -08:00
rmd320.c crypto: prefix module autoloading with "crypto-" 2015-01-29 17:40:50 -08:00
rng.c
salsa20_generic.c crypto: add missing crypto module aliases 2015-01-29 17:40:50 -08:00
scatterwalk.c
seed.c crypto: prefix module autoloading with "crypto-" 2015-01-29 17:40:50 -08:00
seqiv.c crypto: include crypto- module prefix in template 2015-01-29 17:40:50 -08:00
serpent_generic.c crypto: add missing crypto module aliases 2015-01-29 17:40:50 -08:00
sha1_generic.c crypto: add missing crypto module aliases 2015-01-29 17:40:50 -08:00
sha256_generic.c crypto: add missing crypto module aliases 2015-01-29 17:40:50 -08:00
sha512_generic.c crypto: add missing crypto module aliases 2015-01-29 17:40:50 -08:00
shash.c
tcrypt.c
tcrypt.h
tea.c crypto: add missing crypto module aliases 2015-01-29 17:40:50 -08:00
testmgr.c
testmgr.h
tgr192.c crypto: add missing crypto module aliases 2015-01-29 17:40:50 -08:00
twofish_common.c
twofish_generic.c crypto: add missing crypto module aliases 2015-01-29 17:40:50 -08:00
vmac.c crypto: include crypto- module prefix in template 2015-01-29 17:40:50 -08:00
wp512.c crypto: add missing crypto module aliases 2015-01-29 17:40:50 -08:00
xcbc.c crypto: include crypto- module prefix in template 2015-01-29 17:40:50 -08:00
xor.c
xts.c crypto: include crypto- module prefix in template 2015-01-29 17:40:50 -08:00
zlib.c crypto: prefix module autoloading with "crypto-" 2015-01-29 17:40:50 -08:00