hc
2024-09-20 a36159eec6ca17402b0e146b86efaf76568dc353
kernel/crypto/rmd160.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>
....@@ -347,6 +342,7 @@
347342 .descsize = sizeof(struct rmd160_ctx),
348343 .base = {
349344 .cra_name = "rmd160",
345
+ .cra_driver_name = "rmd160-generic",
350346 .cra_blocksize = RMD160_BLOCK_SIZE,
351347 .cra_module = THIS_MODULE,
352348 }
....@@ -362,7 +358,7 @@
362358 crypto_unregister_shash(&alg);
363359 }
364360
365
-module_init(rmd160_mod_init);
361
+subsys_initcall(rmd160_mod_init);
366362 module_exit(rmd160_mod_fini);
367363
368364 MODULE_LICENSE("GPL");