hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/crypto/chacha_generic.c
....@@ -1,13 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * ChaCha and XChaCha stream ciphers, including ChaCha20 (RFC7539)
34 *
45 * Copyright (C) 2015 Martin Willi
56 * Copyright (C) 2018 Google LLC
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License as published by
9
- * the Free Software Foundation; either version 2 of the License, or
10
- * (at your option) any later version.
117 */
128
139 #include <asm/unaligned.h>
....@@ -129,7 +125,7 @@
129125 crypto_unregister_skciphers(algs, ARRAY_SIZE(algs));
130126 }
131127
132
-module_init(chacha_generic_mod_init);
128
+subsys_initcall(chacha_generic_mod_init);
133129 module_exit(chacha_generic_mod_fini);
134130
135131 MODULE_LICENSE("GPL");