842.c (9095bf25ea08135a5b74875dd0e3eeaddc4218a0) 842.c (c4741b23059794bd99beef0f700103b0d983b3fd)
1/*
2 * Cryptographic API for the 842 software compression algorithm.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

--- 130 unchanged lines hidden (view full) ---

139 ret = crypto_register_scomp(&scomp);
140 if (ret) {
141 crypto_unregister_alg(&alg);
142 return ret;
143 }
144
145 return ret;
146}
1/*
2 * Cryptographic API for the 842 software compression algorithm.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

--- 130 unchanged lines hidden (view full) ---

139 ret = crypto_register_scomp(&scomp);
140 if (ret) {
141 crypto_unregister_alg(&alg);
142 return ret;
143 }
144
145 return ret;
146}
147module_init(crypto842_mod_init);
147subsys_initcall(crypto842_mod_init);
148
149static void __exit crypto842_mod_exit(void)
150{
151 crypto_unregister_alg(&alg);
152 crypto_unregister_scomp(&scomp);
153}
154module_exit(crypto842_mod_exit);
155
156MODULE_LICENSE("GPL");
157MODULE_DESCRIPTION("842 Software Compression Algorithm");
158MODULE_ALIAS_CRYPTO("842");
159MODULE_ALIAS_CRYPTO("842-generic");
160MODULE_AUTHOR("Dan Streetman <ddstreet@ieee.org>");
148
149static void __exit crypto842_mod_exit(void)
150{
151 crypto_unregister_alg(&alg);
152 crypto_unregister_scomp(&scomp);
153}
154module_exit(crypto842_mod_exit);
155
156MODULE_LICENSE("GPL");
157MODULE_DESCRIPTION("842 Software Compression Algorithm");
158MODULE_ALIAS_CRYPTO("842");
159MODULE_ALIAS_CRYPTO("842-generic");
160MODULE_AUTHOR("Dan Streetman <ddstreet@ieee.org>");