crc32_generic.c (3eb66e91a25497065c5322b1268cbc3953642227) crc32_generic.c (c4741b23059794bd99beef0f700103b0d983b3fd)
1/* GPL HEADER START
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 only,
7 * as published by the Free Software Foundation.
8 *

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

141 return crypto_register_shash(&alg);
142}
143
144static void __exit crc32_mod_fini(void)
145{
146 crypto_unregister_shash(&alg);
147}
148
1/* GPL HEADER START
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 only,
7 * as published by the Free Software Foundation.
8 *

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

141 return crypto_register_shash(&alg);
142}
143
144static void __exit crc32_mod_fini(void)
145{
146 crypto_unregister_shash(&alg);
147}
148
149module_init(crc32_mod_init);
149subsys_initcall(crc32_mod_init);
150module_exit(crc32_mod_fini);
151
152MODULE_AUTHOR("Alexander Boyko <alexander_boyko@xyratex.com>");
153MODULE_DESCRIPTION("CRC32 calculations wrapper for lib/crc32");
154MODULE_LICENSE("GPL");
155MODULE_ALIAS_CRYPTO("crc32");
156MODULE_ALIAS_CRYPTO("crc32-generic");
150module_exit(crc32_mod_fini);
151
152MODULE_AUTHOR("Alexander Boyko <alexander_boyko@xyratex.com>");
153MODULE_DESCRIPTION("CRC32 calculations wrapper for lib/crc32");
154MODULE_LICENSE("GPL");
155MODULE_ALIAS_CRYPTO("crc32");
156MODULE_ALIAS_CRYPTO("crc32-generic");