| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* SHA-512 code by Jean-Luc Cooke <jlcooke@certainkey.com> |
|---|
| 2 | 3 | * |
|---|
| 3 | 4 | * Copyright (c) Jean-Luc Cooke <jlcooke@certainkey.com> |
|---|
| 4 | 5 | * Copyright (c) Andrew McDonald <andrew@mcdonald.org.uk> |
|---|
| 5 | 6 | * Copyright (c) 2003 Kyle McMartin <kyle@debian.org> |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 8 | | - * under the terms of the GNU General Public License as published by the |
|---|
| 9 | | - * Free Software Foundation; either version 2, or (at your option) any |
|---|
| 10 | | - * later version. |
|---|
| 11 | | - * |
|---|
| 12 | 7 | */ |
|---|
| 13 | 8 | #include <crypto/internal/hash.h> |
|---|
| 14 | 9 | #include <linux/kernel.h> |
|---|
| .. | .. |
|---|
| 223 | 218 | crypto_unregister_shashes(sha512_algs, ARRAY_SIZE(sha512_algs)); |
|---|
| 224 | 219 | } |
|---|
| 225 | 220 | |
|---|
| 226 | | -module_init(sha512_generic_mod_init); |
|---|
| 221 | +subsys_initcall(sha512_generic_mod_init); |
|---|
| 227 | 222 | module_exit(sha512_generic_mod_fini); |
|---|
| 228 | 223 | |
|---|
| 229 | 224 | MODULE_LICENSE("GPL"); |
|---|