hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/crypto/rmd320.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>
....@@ -371,6 +366,7 @@
371366 .descsize = sizeof(struct rmd320_ctx),
372367 .base = {
373368 .cra_name = "rmd320",
369
+ .cra_driver_name = "rmd320-generic",
374370 .cra_blocksize = RMD320_BLOCK_SIZE,
375371 .cra_module = THIS_MODULE,
376372 }
....@@ -386,7 +382,7 @@
386382 crypto_unregister_shash(&alg);
387383 }
388384
389
-module_init(rmd320_mod_init);
385
+subsys_initcall(rmd320_mod_init);
390386 module_exit(rmd320_mod_fini);
391387
392388 MODULE_LICENSE("GPL");