.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Cryptographic API. |
---|
3 | 4 | * |
---|
.. | .. |
---|
6 | 7 | * Based on the reference implementation by Antoon Bosselaers, ESAT-COSIC |
---|
7 | 8 | * |
---|
8 | 9 | * 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 | | - * |
---|
15 | 10 | */ |
---|
16 | 11 | #include <crypto/internal/hash.h> |
---|
17 | 12 | #include <linux/init.h> |
---|
.. | .. |
---|
303 | 298 | .descsize = sizeof(struct rmd128_ctx), |
---|
304 | 299 | .base = { |
---|
305 | 300 | .cra_name = "rmd128", |
---|
| 301 | + .cra_driver_name = "rmd128-generic", |
---|
306 | 302 | .cra_blocksize = RMD128_BLOCK_SIZE, |
---|
307 | 303 | .cra_module = THIS_MODULE, |
---|
308 | 304 | } |
---|
.. | .. |
---|
318 | 314 | crypto_unregister_shash(&alg); |
---|
319 | 315 | } |
---|
320 | 316 | |
---|
321 | | -module_init(rmd128_mod_init); |
---|
| 317 | +subsys_initcall(rmd128_mod_init); |
---|
322 | 318 | module_exit(rmd128_mod_fini); |
---|
323 | 319 | |
---|
324 | 320 | MODULE_LICENSE("GPL"); |
---|