| .. | .. |
|---|
| 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> |
|---|
| .. | .. |
|---|
| 347 | 342 | .descsize = sizeof(struct rmd160_ctx), |
|---|
| 348 | 343 | .base = { |
|---|
| 349 | 344 | .cra_name = "rmd160", |
|---|
| 345 | + .cra_driver_name = "rmd160-generic", |
|---|
| 350 | 346 | .cra_blocksize = RMD160_BLOCK_SIZE, |
|---|
| 351 | 347 | .cra_module = THIS_MODULE, |
|---|
| 352 | 348 | } |
|---|
| .. | .. |
|---|
| 362 | 358 | crypto_unregister_shash(&alg); |
|---|
| 363 | 359 | } |
|---|
| 364 | 360 | |
|---|
| 365 | | -module_init(rmd160_mod_init); |
|---|
| 361 | +subsys_initcall(rmd160_mod_init); |
|---|
| 366 | 362 | module_exit(rmd160_mod_fini); |
|---|
| 367 | 363 | |
|---|
| 368 | 364 | MODULE_LICENSE("GPL"); |
|---|