hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/crypto/rmd128.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Cryptographic API.
34 *
....@@ -6,12 +7,6 @@
67 * Based on the reference implementation by Antoon Bosselaers, ESAT-COSIC
78 *
89 * Copyright (c) 2008 Adrian-Ken Rueegsegger <ken@codelabs.ch>
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>
....@@ -303,6 +298,7 @@
303298 .descsize = sizeof(struct rmd128_ctx),
304299 .base = {
305300 .cra_name = "rmd128",
301
+ .cra_driver_name = "rmd128-generic",
306302 .cra_blocksize = RMD128_BLOCK_SIZE,
307303 .cra_module = THIS_MODULE,
308304 }
....@@ -318,7 +314,7 @@
318314 crypto_unregister_shash(&alg);
319315 }
320316
321
-module_init(rmd128_mod_init);
317
+subsys_initcall(rmd128_mod_init);
322318 module_exit(rmd128_mod_fini);
323319
324320 MODULE_LICENSE("GPL");