| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Twofish for CryptoAPI |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 11 | 12 | * The original author has disclaimed all copyright interest in this |
|---|
| 12 | 13 | * code and thus put it in the public domain. The subsequent authors |
|---|
| 13 | 14 | * have put this under the GNU General Public License. |
|---|
| 14 | | - * |
|---|
| 15 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 16 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 17 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 18 | | - * (at your option) any later version. |
|---|
| 19 | | - * |
|---|
| 20 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 21 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 22 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 23 | | - * GNU General Public License for more details. |
|---|
| 24 | | - * |
|---|
| 25 | | - * You should have received a copy of the GNU General Public License |
|---|
| 26 | | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|---|
| 27 | | - * |
|---|
| 28 | 15 | * |
|---|
| 29 | 16 | * This code is a "clean room" implementation, written from the paper |
|---|
| 30 | 17 | * _Twofish: A 128-Bit Block Cipher_ by Bruce Schneier, John Kelsey, |
|---|
| .. | .. |
|---|
| 205 | 192 | crypto_unregister_alg(&alg); |
|---|
| 206 | 193 | } |
|---|
| 207 | 194 | |
|---|
| 208 | | -module_init(twofish_mod_init); |
|---|
| 195 | +subsys_initcall(twofish_mod_init); |
|---|
| 209 | 196 | module_exit(twofish_mod_fini); |
|---|
| 210 | 197 | |
|---|
| 211 | 198 | MODULE_LICENSE("GPL"); |
|---|