Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

crypto: ccp - Switch to SPDX license identifiers

Add an SPDX identifier and remove any specific statements.

Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Hook, Gary and committed by
Herbert Xu
600bac00 52393d61

+20 -88
+1 -4
drivers/crypto/ccp/ccp-crypto-aes-cmac.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * AMD Cryptographic Coprocessor (CCP) AES CMAC crypto API support 3 4 * 4 5 * Copyright (C) 2013,2018 Advanced Micro Devices, Inc. 5 6 * 6 7 * Author: Tom Lendacky <thomas.lendacky@amd.com> 7 - * 8 - * This program is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU General Public License version 2 as 10 - * published by the Free Software Foundation. 11 8 */ 12 9 13 10 #include <linux/module.h>
+1 -4
drivers/crypto/ccp/ccp-crypto-aes-galois.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * AMD Cryptographic Coprocessor (CCP) AES GCM crypto API support 3 4 * 4 5 * Copyright (C) 2016,2017 Advanced Micro Devices, Inc. 5 6 * 6 7 * Author: Gary R Hook <gary.hook@amd.com> 7 - * 8 - * This program is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU General Public License version 2 as 10 - * published by the Free Software Foundation. 11 8 */ 12 9 13 10 #include <linux/module.h>
+1 -4
drivers/crypto/ccp/ccp-crypto-aes-xts.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * AMD Cryptographic Coprocessor (CCP) AES XTS crypto API support 3 4 * ··· 6 5 * 7 6 * Author: Gary R Hook <gary.hook@amd.com> 8 7 * Author: Tom Lendacky <thomas.lendacky@amd.com> 9 - * 10 - * This program is free software; you can redistribute it and/or modify 11 - * it under the terms of the GNU General Public License version 2 as 12 - * published by the Free Software Foundation. 13 8 */ 14 9 15 10 #include <linux/module.h>
-4
drivers/crypto/ccp/ccp-crypto-aes.c
··· 5 5 * Copyright (C) 2013-2019 Advanced Micro Devices, Inc. 6 6 * 7 7 * Author: Tom Lendacky <thomas.lendacky@amd.com> 8 - * 9 - * This program is free software; you can redistribute it and/or modify 10 - * it under the terms of the GNU General Public License version 2 as 11 - * published by the Free Software Foundation. 12 8 */ 13 9 14 10 #include <linux/module.h>
+1 -4
drivers/crypto/ccp/ccp-crypto-des3.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * AMD Cryptographic Coprocessor (CCP) DES3 crypto API support 3 4 * 4 5 * Copyright (C) 2016,2017 Advanced Micro Devices, Inc. 5 6 * 6 7 * Author: Gary R Hook <ghook@amd.com> 7 - * 8 - * This program is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU General Public License version 2 as 10 - * published by the Free Software Foundation. 11 8 */ 12 9 13 10 #include <linux/module.h>
+1 -4
drivers/crypto/ccp/ccp-crypto-main.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * AMD Cryptographic Coprocessor (CCP) crypto API support 3 4 * 4 5 * Copyright (C) 2013,2017 Advanced Micro Devices, Inc. 5 6 * 6 7 * Author: Tom Lendacky <thomas.lendacky@amd.com> 7 - * 8 - * This program is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU General Public License version 2 as 10 - * published by the Free Software Foundation. 11 8 */ 12 9 13 10 #include <linux/module.h>
+1 -4
drivers/crypto/ccp/ccp-crypto-rsa.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * AMD Cryptographic Coprocessor (CCP) RSA crypto API support 3 4 * 4 5 * Copyright (C) 2017 Advanced Micro Devices, Inc. 5 6 * 6 7 * Author: Gary R Hook <gary.hook@amd.com> 7 - * 8 - * This program is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU General Public License version 2 as 10 - * published by the Free Software Foundation. 11 8 */ 12 9 13 10 #include <linux/module.h>
+1 -4
drivers/crypto/ccp/ccp-crypto-sha.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * AMD Cryptographic Coprocessor (CCP) SHA crypto API support 3 4 * ··· 6 5 * 7 6 * Author: Tom Lendacky <thomas.lendacky@amd.com> 8 7 * Author: Gary R Hook <gary.hook@amd.com> 9 - * 10 - * This program is free software; you can redistribute it and/or modify 11 - * it under the terms of the GNU General Public License version 2 as 12 - * published by the Free Software Foundation. 13 8 */ 14 9 15 10 #include <linux/module.h>
+1 -4
drivers/crypto/ccp/ccp-crypto.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 2 3 * AMD Cryptographic Coprocessor (CCP) crypto API support 3 4 * 4 5 * Copyright (C) 2013,2017 Advanced Micro Devices, Inc. 5 6 * 6 7 * Author: Tom Lendacky <thomas.lendacky@amd.com> 7 - * 8 - * This program is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU General Public License version 2 as 10 - * published by the Free Software Foundation. 11 8 */ 12 9 13 10 #ifndef __CCP_CRYPTO_H__
+1 -4
drivers/crypto/ccp/ccp-debugfs.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * AMD Cryptographic Coprocessor (CCP) driver 3 4 * 4 5 * Copyright (C) 2017 Advanced Micro Devices, Inc. 5 6 * 6 7 * Author: Gary R Hook <gary.hook@amd.com> 7 - * 8 - * This program is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU General Public License version 2 as 10 - * published by the Free Software Foundation. 11 8 */ 12 9 13 10 #include <linux/debugfs.h>
+1 -4
drivers/crypto/ccp/ccp-dev-v3.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * AMD Cryptographic Coprocessor (CCP) driver 3 4 * ··· 6 5 * 7 6 * Author: Tom Lendacky <thomas.lendacky@amd.com> 8 7 * Author: Gary R Hook <gary.hook@amd.com> 9 - * 10 - * This program is free software; you can redistribute it and/or modify 11 - * it under the terms of the GNU General Public License version 2 as 12 - * published by the Free Software Foundation. 13 8 */ 14 9 15 10 #include <linux/module.h>
+1 -4
drivers/crypto/ccp/ccp-dev-v5.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * AMD Cryptographic Coprocessor (CCP) driver 3 4 * 4 5 * Copyright (C) 2016,2017 Advanced Micro Devices, Inc. 5 6 * 6 7 * Author: Gary R Hook <gary.hook@amd.com> 7 - * 8 - * This program is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU General Public License version 2 as 10 - * published by the Free Software Foundation. 11 8 */ 12 9 13 10 #include <linux/module.h>
+1 -4
drivers/crypto/ccp/ccp-dev.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * AMD Cryptographic Coprocessor (CCP) driver 3 4 * ··· 6 5 * 7 6 * Author: Tom Lendacky <thomas.lendacky@amd.com> 8 7 * Author: Gary R Hook <gary.hook@amd.com> 9 - * 10 - * This program is free software; you can redistribute it and/or modify 11 - * it under the terms of the GNU General Public License version 2 as 12 - * published by the Free Software Foundation. 13 8 */ 14 9 15 10 #include <linux/kernel.h>
+1 -4
drivers/crypto/ccp/ccp-dev.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 2 3 * AMD Cryptographic Coprocessor (CCP) driver 3 4 * ··· 6 5 * 7 6 * Author: Tom Lendacky <thomas.lendacky@amd.com> 8 7 * Author: Gary R Hook <gary.hook@amd.com> 9 - * 10 - * This program is free software; you can redistribute it and/or modify 11 - * it under the terms of the GNU General Public License version 2 as 12 - * published by the Free Software Foundation. 13 8 */ 14 9 15 10 #ifndef __CCP_DEV_H__
+1 -4
drivers/crypto/ccp/ccp-dmaengine.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * AMD Cryptographic Coprocessor (CCP) driver 3 4 * 4 5 * Copyright (C) 2016,2017 Advanced Micro Devices, Inc. 5 6 * 6 7 * Author: Gary R Hook <gary.hook@amd.com> 7 - * 8 - * This program is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU General Public License version 2 as 10 - * published by the Free Software Foundation. 11 8 */ 12 9 13 10 #include <linux/module.h>
-4
drivers/crypto/ccp/ccp-ops.c
··· 6 6 * 7 7 * Author: Tom Lendacky <thomas.lendacky@amd.com> 8 8 * Author: Gary R Hook <gary.hook@amd.com> 9 - * 10 - * This program is free software; you can redistribute it and/or modify 11 - * it under the terms of the GNU General Public License version 2 as 12 - * published by the Free Software Foundation. 13 9 */ 14 10 15 11 #include <linux/module.h>
+1 -4
drivers/crypto/ccp/psp-dev.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * AMD Platform Security Processor (PSP) interface 3 4 * 4 5 * Copyright (C) 2016,2018 Advanced Micro Devices, Inc. 5 6 * 6 7 * Author: Brijesh Singh <brijesh.singh@amd.com> 7 - * 8 - * This program is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU General Public License version 2 as 10 - * published by the Free Software Foundation. 11 8 */ 12 9 13 10 #include <linux/module.h>
+1 -4
drivers/crypto/ccp/psp-dev.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 2 3 * AMD Platform Security Processor (PSP) interface driver 3 4 * 4 5 * Copyright (C) 2017-2018 Advanced Micro Devices, Inc. 5 6 * 6 7 * Author: Brijesh Singh <brijesh.singh@amd.com> 7 - * 8 - * This program is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU General Public License version 2 as 10 - * published by the Free Software Foundation. 11 8 */ 12 9 13 10 #ifndef __PSP_DEV_H__
+1 -4
drivers/crypto/ccp/sp-dev.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * AMD Secure Processor driver 3 4 * ··· 7 6 * Author: Tom Lendacky <thomas.lendacky@amd.com> 8 7 * Author: Gary R Hook <gary.hook@amd.com> 9 8 * Author: Brijesh Singh <brijesh.singh@amd.com> 10 - * 11 - * This program is free software; you can redistribute it and/or modify 12 - * it under the terms of the GNU General Public License version 2 as 13 - * published by the Free Software Foundation. 14 9 */ 15 10 16 11 #include <linux/module.h>
+1 -4
drivers/crypto/ccp/sp-dev.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 2 3 * AMD Secure Processor driver 3 4 * ··· 7 6 * Author: Tom Lendacky <thomas.lendacky@amd.com> 8 7 * Author: Gary R Hook <gary.hook@amd.com> 9 8 * Author: Brijesh Singh <brijesh.singh@amd.com> 10 - * 11 - * This program is free software; you can redistribute it and/or modify 12 - * it under the terms of the GNU General Public License version 2 as 13 - * published by the Free Software Foundation. 14 9 */ 15 10 16 11 #ifndef __SP_DEV_H__
+1 -4
drivers/crypto/ccp/sp-pci.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * AMD Secure Processor device driver 3 4 * ··· 6 5 * 7 6 * Author: Tom Lendacky <thomas.lendacky@amd.com> 8 7 * Author: Gary R Hook <gary.hook@amd.com> 9 - * 10 - * This program is free software; you can redistribute it and/or modify 11 - * it under the terms of the GNU General Public License version 2 as 12 - * published by the Free Software Foundation. 13 8 */ 14 9 15 10 #include <linux/module.h>
+1 -4
drivers/crypto/ccp/sp-platform.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * AMD Secure Processor device driver 3 4 * 4 5 * Copyright (C) 2014,2018 Advanced Micro Devices, Inc. 5 6 * 6 7 * Author: Tom Lendacky <thomas.lendacky@amd.com> 7 - * 8 - * This program is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU General Public License version 2 as 10 - * published by the Free Software Foundation. 11 8 */ 12 9 13 10 #include <linux/module.h>