| .. | .. |
|---|
| 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> |
|---|
| .. | .. |
|---|
| 371 | 366 | .descsize = sizeof(struct rmd320_ctx), |
|---|
| 372 | 367 | .base = { |
|---|
| 373 | 368 | .cra_name = "rmd320", |
|---|
| 369 | + .cra_driver_name = "rmd320-generic", |
|---|
| 374 | 370 | .cra_blocksize = RMD320_BLOCK_SIZE, |
|---|
| 375 | 371 | .cra_module = THIS_MODULE, |
|---|
| 376 | 372 | } |
|---|
| .. | .. |
|---|
| 386 | 382 | crypto_unregister_shash(&alg); |
|---|
| 387 | 383 | } |
|---|
| 388 | 384 | |
|---|
| 389 | | -module_init(rmd320_mod_init); |
|---|
| 385 | +subsys_initcall(rmd320_mod_init); |
|---|
| 390 | 386 | module_exit(rmd320_mod_fini); |
|---|
| 391 | 387 | |
|---|
| 392 | 388 | MODULE_LICENSE("GPL"); |
|---|