Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp257581rwd; Tue, 6 Jun 2023 22:41:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ68A5xYlnp2McPrXF8ZyRuLsEtcfUtJIBq82P5gUsEEKqJ8Zv4h25BSpcqNNaB/9B0+MDLH X-Received: by 2002:a17:902:e891:b0:1ac:775b:3e0a with SMTP id w17-20020a170902e89100b001ac775b3e0amr867649plg.5.1686116486706; Tue, 06 Jun 2023 22:41:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686116486; cv=none; d=google.com; s=arc-20160816; b=rIxZplGkYldAT1Rijp4vBEb8IM1KyQacc0D+dwAGxqWMAcLv0Fs57AKDoMV3hY2vQA 13qzHISqH2g/iLIDb6SOchkqXWmysedRYBYD2krO649vs4URmc0CASR49po7hUi+KYO3 5fK5EBXQehJbEjKWhhJ//rt6yXCrr22Z8Wb+8ujB3DLc1Z9/kt8/eGdEHihy4H84Havr X1ukpHJB3ApSVBn8WZtFtS57/THfM/6ux2Dbx/3ITiV8kdk6hP3U44jXifY3gakDGYJ1 Be0xiJXZFpkp0NKn2YesjJHf487VzkQHwGQ5MmTPvswxMjCsUd8NvUkIJRbt0FWR5GpF HWWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ppkNBQmxuYcx/PbkAqfMSVxZ68/cT5Kv/2fTrtmlqEk=; b=OX54x8lHK+VaAepcu2BuPXRwiMiq/+/jkHVLGrwRqCmE1VeFAXwDptqp++65rEv2vs rad+WAa8G/qS4kFPd7n5zZ9hz42yEdTzrsCdnaqqDyDUG8ZT3NBnKQYBdh0umgwhOfhB lQHM3FwKRM+fwaE5TlF5iyPieCpc2BeeKJW6BQi0II6AGreA0ht51v8C6KQVocmHTzrM Tr6V3Usjg87LKmZcmt7vMxdnZMcARwMRtikYRXihybpz3ZW/tSrEd1qb2nMlbffyVqeY +wTu89n71slkt7IkXLbrvumc9WisCjowaQ6ob0ZfFIRn9PlGZoQ+GRvIQEYfdCUatx3Y Q3Ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=B4O5lOCO; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f3-20020a170902ce8300b001b075efce34si8433033plg.388.2023.06.06.22.41.11; Tue, 06 Jun 2023 22:41:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=B4O5lOCO; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235007AbjFGFke (ORCPT + 99 others); Wed, 7 Jun 2023 01:40:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234777AbjFGFkP (ORCPT ); Wed, 7 Jun 2023 01:40:15 -0400 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCC041BDD; Tue, 6 Jun 2023 22:40:08 -0700 (PDT) Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-64d24136685so183806b3a.1; Tue, 06 Jun 2023 22:40:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686116408; x=1688708408; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ppkNBQmxuYcx/PbkAqfMSVxZ68/cT5Kv/2fTrtmlqEk=; b=B4O5lOCOB3yCh5moxDOr4Jg/b1HnKTE7stRyg3RjipYE83c4pVXan25fygnE67yDsY wnASV+/gFFtNLVKn4jONYOdjqn3q1QuOFSwxJ/9lPMRxWDRR09N3ijPkjwWWaaJG67T/ oQ2VPhl9Jg81TjuGZQqDUvktRIs2e+9w8EntXDaKRtAcP8Zl2jFDOFJ5zcYVWytOM+qd 2emKvR+rzQgMRAWZ9wuHmcBO9+nsUzm++KfEERLUAGdnGxt4Cfp+I4vi+DXFp9mpy1bx mJ+aD38mwQV1bucup+5SwMxE8GK6Gug6CCAifkZkuvNOFm4hXcU4S3jk9EFVYhC8GtPW wCQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686116408; x=1688708408; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ppkNBQmxuYcx/PbkAqfMSVxZ68/cT5Kv/2fTrtmlqEk=; b=RD5+MZjrrb85WA+vW5cf3erKtfAjtHGYV8eahJbbgzEEh5uUrzfuj69XmBKDhRrVfA gLXN8uS4fcZsjmf99xPtPyqb8hiYmpxPL8GFkfm9vxRk4XeJc4Nrc8Ea1pqiwUcbpUh/ TC1s35nCFn7FRIDYfIPov1jHjA8L9mP03dX0X0n+eRqV4XPY1+VFuvJlSv5K0hGb0Ine bVgKbllYkTH6N63KHVJDKvUkyAooHECwROwT13yve6/+fUK0C7NrQU404zdEhVG0owmt L9gEr8q6R3/CpQQp7RKP0hNbAdxbMRJt607Q47DbMDgg4HbKu7yrXnn3RkNe0U4tpDp0 wpEA== X-Gm-Message-State: AC+VfDyKccLm/+uJKCRsFFvhSyqJkfhlIAacw0luyG6Wo/Kvfez3Oj1Y SsmsCiYA7OBbIoc/+GusA3c= X-Received: by 2002:a05:6a00:230b:b0:659:f4ed:42bc with SMTP id h11-20020a056a00230b00b00659f4ed42bcmr5029604pfh.4.1686116407965; Tue, 06 Jun 2023 22:40:07 -0700 (PDT) Received: from debian.me (subs28-116-206-12-58.three.co.id. [116.206.12.58]) by smtp.gmail.com with ESMTPSA id v6-20020a62a506000000b0065007825f51sm7582619pfm.79.2023.06.06.22.40.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jun 2023 22:40:07 -0700 (PDT) Received: by debian.me (Postfix, from userid 1000) id A6D9D1069F0; Wed, 7 Jun 2023 12:39:59 +0700 (WIB) From: Bagas Sanjaya To: Herbert Xu , "David S. Miller" , Franziska Naepelt , Greg Kroah-Hartman Cc: Linux SPDX Licenses , Linux Kernel Janitors , Linux Crypto , Linux Kernel Mailing List , David Howells , Jarkko Sakkinen , Dan Carpenter , Bagas Sanjaya , Aaron Grothe , "Martin K. Petersen" , Tim Chen , James Morris Subject: [PATCH 6/8] crypto: Replace GPL 2.0 boilerplate with SPDX license identifier Date: Wed, 7 Jun 2023 12:39:47 +0700 Message-ID: <20230607053940.39078-16-bagasdotme@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230607053940.39078-10-bagasdotme@gmail.com> References: <20230607053940.39078-10-bagasdotme@gmail.com> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=8338; i=bagasdotme@gmail.com; h=from:subject; bh=HaKi76264HutMA3mSn1u8pzgQiTvHlhgbaB3QdLtb8A=; b=owGbwMvMwCX2bWenZ2ig32LG02pJDCkNEnJCv5N+hrcdubc74/2MsnL1kNnNcZOTNhwNMdRS0 53gMUWmo5SFQYyLQVZMkWVSIl/T6V1GIhfa1zrCzGFlAhnCwMUpABO5VMXwT8W0jrO6SurFzmgW Fh9et3XOk5b++XYlPjgmuNjV0kzpMCPDqVv7nnZff959arpKZ8P3Y3+im2XjFm/92uTH0hriYpT DBwA= X-Developer-Key: i=bagasdotme@gmail.com; a=openpgp; fpr=701B806FDCA5D3A58FFB8F7D7C276C64A5E44A1D Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,FREEMAIL_REPLY, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Replace the license boilerplate text with appropriate SPDX tag. Cc: Aaron Grothe Cc: "Martin K. Petersen" Cc: Tim Chen Cc: "David S. Miller" Cc: James Morris Signed-off-by: Bagas Sanjaya --- crypto/anubis.c | 6 +----- crypto/crct10dif_common.c | 15 +-------------- crypto/crct10dif_generic.c | 15 +-------------- crypto/khazad.c | 6 +----- crypto/md4.c | 6 +----- crypto/md5.c | 6 +----- crypto/poly1305_generic.c | 5 +---- crypto/vmac.c | 13 +------------ crypto/wp512.c | 6 +----- 9 files changed, 9 insertions(+), 69 deletions(-) diff --git a/crypto/anubis.c b/crypto/anubis.c index 9f0cf61bbc6e26..c3ca6d87b8a0aa 100644 --- a/crypto/anubis.c +++ b/crypto/anubis.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Cryptographic API. * @@ -22,11 +23,6 @@ * * By Aaron Grothe ajgrothe@yahoo.com, October 28, 2004 * - * 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. - * */ #include diff --git a/crypto/crct10dif_common.c b/crypto/crct10dif_common.c index b2fab366f518bc..0eac9fa1d0088e 100644 --- a/crypto/crct10dif_common.c +++ b/crypto/crct10dif_common.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Cryptographic API. * @@ -8,20 +9,6 @@ * Copyright (C) 2013 Intel Corporation * Author: Tim Chen * - * 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. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * */ #include diff --git a/crypto/crct10dif_generic.c b/crypto/crct10dif_generic.c index e843982073bb58..aef86b2c7a1e36 100644 --- a/crypto/crct10dif_generic.c +++ b/crypto/crct10dif_generic.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Cryptographic API. * @@ -8,20 +9,6 @@ * Copyright (C) 2013 Intel Corporation * Author: Tim Chen * - * 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. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * */ #include diff --git a/crypto/khazad.c b/crypto/khazad.c index 70cafe73f97405..42c2ac2603f7d2 100644 --- a/crypto/khazad.c +++ b/crypto/khazad.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Cryptographic API. * @@ -12,11 +13,6 @@ * * By Aaron Grothe ajgrothe@yahoo.com, August 1, 2004 * - * 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. - * */ #include diff --git a/crypto/md4.c b/crypto/md4.c index 2e7f2f319f9503..0ba32634088bd3 100644 --- a/crypto/md4.c +++ b/crypto/md4.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Cryptographic API. * @@ -14,11 +15,6 @@ * Copyright (c) 2002 David S. Miller (davem@redhat.com) * Copyright (c) 2002 James Morris * - * 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. - * */ #include #include diff --git a/crypto/md5.c b/crypto/md5.c index 72c0c46fb5eea2..d17cc0180f699f 100644 --- a/crypto/md5.c +++ b/crypto/md5.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Cryptographic API. * @@ -9,11 +10,6 @@ * Copyright (c) Cryptoapi developers. * Copyright (c) 2002 James Morris * - * 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. - * */ #include #include diff --git a/crypto/poly1305_generic.c b/crypto/poly1305_generic.c index 94af47eb6fa699..9cd51b6d7d892d 100644 --- a/crypto/poly1305_generic.c +++ b/crypto/poly1305_generic.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Poly1305 authenticator algorithm, RFC7539 * @@ -5,10 +6,6 @@ * * Based on public domain code by Andrew Moon and Daniel J. Bernstein. * - * 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. */ #include diff --git a/crypto/vmac.c b/crypto/vmac.c index 4633b2dda1e0a5..0052c32c3f11b3 100644 --- a/crypto/vmac.c +++ b/crypto/vmac.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * VMAC: Message Authentication Code using Universal Hashing * @@ -6,18 +7,6 @@ * Copyright (c) 2009, Intel Corporation. * Copyright (c) 2018, Google Inc. * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope 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, write to the Free Software Foundation, Inc., 59 Temple - * Place - Suite 330, Boston, MA 02111-1307 USA. */ /* diff --git a/crypto/wp512.c b/crypto/wp512.c index 07994e5ebf4ef2..31040492c98175 100644 --- a/crypto/wp512.c +++ b/crypto/wp512.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Cryptographic API. * @@ -13,11 +14,6 @@ * * By Aaron Grothe ajgrothe@yahoo.com, August 23, 2004 * - * 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. - * */ #include #include -- An old man doll... just what I always wanted! - Clara