hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/crypto/sha3_generic.c
....@@ -1,17 +1,12 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Cryptographic API.
34 *
45 * SHA-3, as specified in
5
- * http://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.202.pdf
6
+ * https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.202.pdf
67 *
78 * SHA-3 code by Jeff Garzik <jeff@garzik.org>
89 * Ard Biesheuvel <ard.biesheuvel@linaro.org>
9
- *
10
- * This program is free software; you can redistribute it and/or modify it
11
- * under the terms of the GNU General Public License as published by the Free
12
- * Software Foundation; either version 2 of the License, or (at your option)•
13
- * any later version.
14
- *
1510 */
1611 #include <crypto/internal/hash.h>
1712 #include <linux/init.h>
....@@ -294,7 +289,7 @@
294289 crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
295290 }
296291
297
-module_init(sha3_generic_mod_init);
292
+subsys_initcall(sha3_generic_mod_init);
298293 module_exit(sha3_generic_mod_fini);
299294
300295 MODULE_LICENSE("GPL");