| .. | .. |
|---|
| 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> |
|---|
| .. | .. |
|---|
| 322 | 317 | .descsize = sizeof(struct rmd256_ctx), |
|---|
| 323 | 318 | .base = { |
|---|
| 324 | 319 | .cra_name = "rmd256", |
|---|
| 320 | + .cra_driver_name = "rmd256-generic", |
|---|
| 325 | 321 | .cra_blocksize = RMD256_BLOCK_SIZE, |
|---|
| 326 | 322 | .cra_module = THIS_MODULE, |
|---|
| 327 | 323 | } |
|---|
| .. | .. |
|---|
| 337 | 333 | crypto_unregister_shash(&alg); |
|---|
| 338 | 334 | } |
|---|
| 339 | 335 | |
|---|
| 340 | | -module_init(rmd256_mod_init); |
|---|
| 336 | +subsys_initcall(rmd256_mod_init); |
|---|
| 341 | 337 | module_exit(rmd256_mod_fini); |
|---|
| 342 | 338 | |
|---|
| 343 | 339 | MODULE_LICENSE("GPL"); |
|---|