| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * ChaCha and XChaCha stream ciphers, including ChaCha20 (RFC7539) |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2015 Martin Willi |
|---|
| 5 | 6 | * Copyright (C) 2018 Google LLC |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 8 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 9 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 10 | | - * (at your option) any later version. |
|---|
| 11 | 7 | */ |
|---|
| 12 | 8 | |
|---|
| 13 | 9 | #include <asm/unaligned.h> |
|---|
| .. | .. |
|---|
| 129 | 125 | crypto_unregister_skciphers(algs, ARRAY_SIZE(algs)); |
|---|
| 130 | 126 | } |
|---|
| 131 | 127 | |
|---|
| 132 | | -module_init(chacha_generic_mod_init); |
|---|
| 128 | +subsys_initcall(chacha_generic_mod_init); |
|---|
| 133 | 129 | module_exit(chacha_generic_mod_fini); |
|---|
| 134 | 130 | |
|---|
| 135 | 131 | MODULE_LICENSE("GPL"); |
|---|