hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/crypto/rmd256.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>
....@@ -322,6 +317,7 @@
322317 .descsize = sizeof(struct rmd256_ctx),
323318 .base = {
324319 .cra_name = "rmd256",
320
+ .cra_driver_name = "rmd256-generic",
325321 .cra_blocksize = RMD256_BLOCK_SIZE,
326322 .cra_module = THIS_MODULE,
327323 }
....@@ -337,7 +333,7 @@
337333 crypto_unregister_shash(&alg);
338334 }
339335
340
-module_init(rmd256_mod_init);
336
+subsys_initcall(rmd256_mod_init);
341337 module_exit(rmd256_mod_fini);
342338
343339 MODULE_LICENSE("GPL");