X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=crypto%2Fserpent.c;h=db6beb63e707769e8fceea236058365f3e07a419;hp=2b0a19a44ec596047d541dbefb1cc28f67ee6b86;hb=3cc0730eef779b6d7e27d6dfa5bd81f76a2baa0c;hpb=f0eef25339f92f7cd4aeea23d9ae97987a5a1e82 diff --git a/crypto/serpent.c b/crypto/serpent.c index 2b0a19a44ec5..db6beb63e707 100644 --- a/crypto/serpent.c +++ b/crypto/serpent.c @@ -557,7 +557,7 @@ static struct crypto_alg tnepres_alg = { .cia_decrypt = tnepres_decrypt } } }; -static int __init init(void) +static int __init serpent_mod_init(void) { int ret = crypto_register_alg(&serpent_alg); @@ -572,16 +572,17 @@ static int __init init(void) return ret; } -static void __exit fini(void) +static void __exit serpent_mod_fini(void) { crypto_unregister_alg(&tnepres_alg); crypto_unregister_alg(&serpent_alg); } -module_init(init); -module_exit(fini); +module_init(serpent_mod_init); +module_exit(serpent_mod_fini); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("Serpent and tnepres (kerneli compatible serpent reversed) Cipher Algorithm"); MODULE_AUTHOR("Dag Arne Osvik "); -MODULE_ALIAS("tnepres"); +MODULE_ALIAS_CRYPTO("tnepres"); +MODULE_ALIAS_CRYPTO("serpent");