hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/crypto/twofish_generic.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Twofish for CryptoAPI
34 *
....@@ -11,20 +12,6 @@
1112 * The original author has disclaimed all copyright interest in this
1213 * code and thus put it in the public domain. The subsequent authors
1314 * have put this under the GNU General Public License.
14
- *
15
- * This program is free software; you can redistribute it and/or modify
16
- * it under the terms of the GNU General Public License as published by
17
- * the Free Software Foundation; either version 2 of the License, or
18
- * (at your option) any later version.
19
- *
20
- * This program is distributed in the hope that it will be useful,
21
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
22
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23
- * GNU General Public License for more details.
24
- *
25
- * You should have received a copy of the GNU General Public License
26
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
27
- *
2815 *
2916 * This code is a "clean room" implementation, written from the paper
3017 * _Twofish: A 128-Bit Block Cipher_ by Bruce Schneier, John Kelsey,
....@@ -205,7 +192,7 @@
205192 crypto_unregister_alg(&alg);
206193 }
207194
208
-module_init(twofish_mod_init);
195
+subsys_initcall(twofish_mod_init);
209196 module_exit(twofish_mod_fini);
210197
211198 MODULE_LICENSE("GPL");