aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/salsa20_generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/salsa20_generic.c')
-rw-r--r--crypto/salsa20_generic.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/salsa20_generic.c b/crypto/salsa20_generic.c
index 1fa4e4ddcab5..b07d55981741 100644
--- a/crypto/salsa20_generic.c
+++ b/crypto/salsa20_generic.c
@@ -237,18 +237,18 @@ static struct crypto_alg alg = {
237 } 237 }
238}; 238};
239 239
240static int __init init(void) 240static int __init salsa20_generic_mod_init(void)
241{ 241{
242 return crypto_register_alg(&alg); 242 return crypto_register_alg(&alg);
243} 243}
244 244
245static void __exit fini(void) 245static void __exit salsa20_generic_mod_fini(void)
246{ 246{
247 crypto_unregister_alg(&alg); 247 crypto_unregister_alg(&alg);
248} 248}
249 249
250module_init(init); 250module_init(salsa20_generic_mod_init);
251module_exit(fini); 251module_exit(salsa20_generic_mod_fini);
252 252
253MODULE_LICENSE("GPL"); 253MODULE_LICENSE("GPL");
254MODULE_DESCRIPTION ("Salsa20 stream cipher algorithm"); 254MODULE_DESCRIPTION ("Salsa20 stream cipher algorithm");