Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1015751pxb; Sat, 15 Jan 2022 00:17:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJzq6XRR0DKRc4li+NgXmQbTDj3CpoH4pzxLmjQcQNM2d/0V4E93Nn418P3io6GGTHfedanm X-Received: by 2002:a17:90a:14c2:: with SMTP id k60mr14597950pja.22.1642234637288; Sat, 15 Jan 2022 00:17:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642234637; cv=none; d=google.com; s=arc-20160816; b=E4Xvakg0FTxv8Tlquproa7wFrzcJzsnDkWFnBQu5lG4PgUweDgeDrb/rTNqpmFCD9/ BJJYn8o9CyYCC/HHajw5LF0IQTuV00wLJ7ljGJCshOySd/spHE9gxcoZ2X9fDubQjhDV nwX0W1eOVgOe0BxeaJ89MDhp29ql960LFU6agE/Pl3xFiuiHS3yaBEv7DUWO1vDqelt4 Qxtq/462QQhDadsW5rYu3BWzPUCXE2i7MCFLqU1Z73oexJTEO7SO3bXe2FNlEGhqNUe1 Cmdoq1Tow4IXjs1g//bNBbKP/wwcrRhMrsu/e3/ViGtGfDFFkqdSli4yDKVnYgOwN/1Q hRrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:cc:from:subject:mime-version:message-id:date :dkim-signature; bh=TEFOv4YS0Pv2L4ioEdK41WD5FaS6ABhUfwsLXh99f8U=; b=MFdSHJZ06pI0p3KmHRhKj3ZgVGZv8MdRq/eWtUexkWWbapSRiioA+nCi8ukS1FoJZu MCVxq3s+h5ZvcvuSZOr9nc/N/iv955UdSRjp16SSXjT8Pdrrd3SRBLm1N03/aK+2ivlK DDsakca1MJ6fI7UAo58ImO/jookvwTsS0sfvnPpTNyINe1jyACElnIM0RjBnrV7b2EVe jN6Qk4Sx6zvJ8ZKkRhZ87UI0gElnTjRSqByDUkdi7y73FXKAGyJt+5CxXXJivgDT8DDx NjTR9JRZj/B7FKT/vPqWTQNvfoZaiAwSKxhX1vLW5FrgOAGlupUrp7vzLGuGT+Q7vppB V0GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=sN3IkgdF; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m137si734435pfd.135.2022.01.15.00.16.48; Sat, 15 Jan 2022 00:17:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=sN3IkgdF; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231465AbiAOARr (ORCPT + 99 others); Fri, 14 Jan 2022 19:17:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229913AbiAOARr (ORCPT ); Fri, 14 Jan 2022 19:17:47 -0500 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56931C06161C for ; Fri, 14 Jan 2022 16:17:47 -0800 (PST) Received: by mail-yb1-xb49.google.com with SMTP id e18-20020a255012000000b00611b9fa7078so14461704ybb.4 for ; Fri, 14 Jan 2022 16:17:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:message-id:mime-version:subject:from:cc; bh=TEFOv4YS0Pv2L4ioEdK41WD5FaS6ABhUfwsLXh99f8U=; b=sN3IkgdFVVNugkPBMVaX1NQErDxMw2JjTs7fEo2IZHsKKUM7LTSV9HHpFS166HaH3W 1smmvnBfC2u30IE5BLIk409N1YZOuqDC+aTiCGUwbpoHdcN4OqjXMxCsDTaFeS5P2VRq SmBZHpg8uW1ouZ/j7p3S+qI/pSM5yUosczI2Nj3gMldT1HQfoC/iWUsehWtmsGMiln9/ RhEvTEGlrfQRvTK/FqSw7xhLyNl7Aq9RiFRjCvHxZr5sv0MlpTkooxxRhlsXEQfp/npd ki3xenMHB3KDK07iMrpR5qm5ThgDpUmuK8M6KClCzYuOt6imy1PMm2w3D2hS04k8KW0L NlbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:message-id:mime-version:subject:from:cc; bh=TEFOv4YS0Pv2L4ioEdK41WD5FaS6ABhUfwsLXh99f8U=; b=AoEEAKELudR8Ei8vcr4ct9rH4jcy0Apz5AqIpTprCr9K6zu4LaXCp7f5gFsuhg/z5b b5z1sk60DVsWAkC2hvUn/cMeXpk+69mlJmM3Ru+zFjOeNIY+RwyC/o3A3o8D4VjpAIGM P/RYhuOUSnRm5sCpCqydMUrUZD+a5cisdvhiZeegIsq0lbvZs29N/Kh0hVWx5ygcX+M1 zCXBQtWKs8PrUl/IMt2dyUMnlqpPYNwIj3pOuHXozda4QHZBOGWdGtGujklzEeIrRr4S MCFClnEWcbLGTv/Errmgifj8gMzIsJCcD47q+/5LjzavTOwunFUQMCAlcxLi1OXmw2j4 YHHA== X-Gm-Message-State: AOAM5303enORgK7hWjZAwqyCS+Sxj0qMWU4wdRzxEKqBqPWA0ZOOpfsU X3N8OYvzyD6GpYYU4KR96NV06uWLEA== X-Received: from nhuck.c.googlers.com ([fda3:e722:ac3:cc00:14:4d90:c0a8:39cc]) (user=nhuck job=sendgmr) by 2002:a5b:3c2:: with SMTP id t2mr16685965ybp.747.1642205866524; Fri, 14 Jan 2022 16:17:46 -0800 (PST) Date: Fri, 14 Jan 2022 18:17:19 -0600 Message-Id: <20220115001719.1040897-1-nhuck@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.34.1.703.g22d0c6ccf7-goog Subject: [PATCH] crypto: x86 - Convert to SPDX identifier From: Nathan Huckleberry Cc: Nathan Huckleberry , James Guilford , Sean Gulley , Chandramouli Narayanan , Herbert Xu , "David S. Miller" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Use SPDX-License-Identifier instead of a verbose license text and update external link. Cc: James Guilford Cc: Sean Gulley Cc: Chandramouli Narayanan Signed-off-by: Nathan Huckleberry --- arch/x86/crypto/aes_ctrby8_avx-x86_64.S | 63 ++++--------------------- 1 file changed, 10 insertions(+), 53 deletions(-) diff --git a/arch/x86/crypto/aes_ctrby8_avx-x86_64.S b/arch/x86/crypto/aes_ctrby8_avx-x86_64.S index c799838242a6..43852ba6e19c 100644 --- a/arch/x86/crypto/aes_ctrby8_avx-x86_64.S +++ b/arch/x86/crypto/aes_ctrby8_avx-x86_64.S @@ -1,65 +1,22 @@ +/* SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause */ /* - * Implement AES CTR mode by8 optimization with AVX instructions. (x86_64) - * - * This is AES128/192/256 CTR mode optimization implementation. It requires - * the support of Intel(R) AESNI and AVX instructions. - * - * This work was inspired by the AES CTR mode optimization published - * in Intel Optimized IPSEC Cryptograhpic library. - * Additional information on it can be found at: - * http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=22972 - * - * This file is provided under a dual BSD/GPLv2 license. When using or - * redistributing this file, you may do so under either license. - * - * GPL LICENSE SUMMARY + * AES CTR mode by8 optimization with AVX instructions. (x86_64) * * Copyright(c) 2014 Intel Corporation. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of version 2 of the GNU General Public License as - * published by the Free Software Foundation. - * - * 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. - * * Contact Information: * James Guilford * Sean Gulley * Chandramouli Narayanan + */ +/* + * This is AES128/192/256 CTR mode optimization implementation. It requires + * the support of Intel(R) AESNI and AVX instructions. * - * BSD LICENSE - * - * Copyright(c) 2014 Intel Corporation. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * Neither the name of Intel Corporation nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * + * This work was inspired by the AES CTR mode optimization published + * in Intel Optimized IPSEC Cryptographic library. + * Additional information on it can be found at: + * https://github.com/intel/intel-ipsec-mb */ #include -- 2.34.1.703.g22d0c6ccf7-goog