summaryrefslogtreecommitdiff
path: root/crypto/twofish_generic.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-06-01 00:48:45 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-06-01 00:48:45 +0200
commit6c7e9362459d2d2e543954f254dac5d00c2c661a (patch)
treee866655ce1b602c5e5147eabfced3047c25875d4 /crypto/twofish_generic.c
parent8648646bd7927eccf4334248e94827d5dd47acf9 (diff)
parent8dab4355510edce56ef3bb8e0f209b9d8dfe17b8 (diff)
downloadlinux-crypto-6c7e9362459d2d2e543954f254dac5d00c2c661a.tar.gz
linux-crypto-6c7e9362459d2d2e543954f254dac5d00c2c661a.zip
Merge tag 'kvm-ppc-fixes-5.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc into kvm-master
PPC KVM fixes for 5.2 - Several bug fixes for the new XIVE-native code. - Replace kvm->lock by other mutexes in several places where we hold a vcpu mutex, to avoid lock order inversions. - Fix a lockdep warning on guest entry for radix-mode guests. - Fix a bug causing user-visible corruption of SPRG3 on the host.
Diffstat (limited to 'crypto/twofish_generic.c')
-rw-r--r--crypto/twofish_generic.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/crypto/twofish_generic.c b/crypto/twofish_generic.c
index dbac6e23..4f7c0332 100644
--- a/crypto/twofish_generic.c
+++ b/crypto/twofish_generic.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Twofish for CryptoAPI
*
@@ -12,20 +13,6 @@
* code and thus put it in the public domain. The subsequent authors
* have put this under the GNU General Public License.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- *
* This code is a "clean room" implementation, written from the paper
* _Twofish: A 128-Bit Block Cipher_ by Bruce Schneier, John Kelsey,
* Doug Whiting, David Wagner, Chris Hall, and Niels Ferguson, available