Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp344857imm; Tue, 18 Sep 2018 23:14:11 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbPOt+1GnZtuzdgxex1WIplFv6kEvItnFz1zhnLndg2STJUHCK7FdoYVUB72+8ZffV66YER X-Received: by 2002:a63:7a0f:: with SMTP id v15-v6mr31439545pgc.127.1537337651202; Tue, 18 Sep 2018 23:14:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537337651; cv=none; d=google.com; s=arc-20160816; b=LBg9ocYJYOjC3qapa8exzFEmH/SBbI59qsDDyJ9+0nNM595oX7Iz6innguVqBO4VHb i/H+Jcnke+qr/gIc2XWvoS/w2WDKa9G+fobOcphZEtKqUOhXZw2UkeoW/Dy2j/i50/0r L2amtuevCXqgqsj2faHHxn4GGbCeC4V4RvvLouf/rctPQTRWlVEPYb1iGsPxRxZD40FN nyxsiTpM/FX4jbCD7/85e5TKxBK9F1PkmpNSHTPn4E/cGb0Y+KzoVJd+jdWWCwF7Yfh1 6eqQ1aLJKWQWwXZuXKO748XmI2R3o0KFtEgNwEEmNMZuNXuE74jLJbIjCWR7NZ4rsqxu 9Rnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=k0QrbCArD0x9mwEvhh31EPIkYRXCuRJ/Z6L2gIcCYuQ=; b=FQytJMirJuvM+6dI+n93KlHfpngF0dzFegsRY+0OeVcPw942EQzxK6gVT58qBc/sWl PtdXQXB1iMfo8isdhSX2qKPyEDaCxfxZYYbLeHmeVy4I1O9T4o0HXS2EAl1yfCLnPLrY LxrL7JwcJfUpH7kFQ5iUxPv1bseagSDCC/5+2P/avb3SOI9hd5jR2T3hLFw1grM+DfxL SftSyhHFuRX0HrvkLsQ0Zh6Ya3OxYS938JyZrz1BhUdnGnAkuylzr5znmU4QlVDvmd48 H5JoNSlcWQ+fhIfgJKvGSDHhmmepAIBZ3WPcUbvNvMn1hQZLj1fM+4CQ+f58DAKL3L0l awBQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p84-v6si21779373pfj.101.2018.09.18.23.13.55; Tue, 18 Sep 2018 23:14:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731055AbeISLuK (ORCPT + 99 others); Wed, 19 Sep 2018 07:50:10 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:59636 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730605AbeISLuK (ORCPT ); Wed, 19 Sep 2018 07:50:10 -0400 Received: from p5492e4c1.dip0.t-ipconnect.de ([84.146.228.193] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1g2Vk5-0002vu-7G; Wed, 19 Sep 2018 08:13:41 +0200 Date: Wed, 19 Sep 2018 08:13:40 +0200 (CEST) From: Thomas Gleixner To: "Jason A. Donenfeld" cc: LKML , Netdev , Linux Crypto Mailing List , David Miller , Greg Kroah-Hartman , Samuel Neves , Andrew Lutomirski , Jean-Philippe Aumasson , Andy Polyakov , mingo@redhat.com, X86 ML , Kate Stewart Subject: Re: [PATCH net-next v5 04/20] zinc: ChaCha20 x86_64 implementation In-Reply-To: Message-ID: References: <20180918161646.19105-1-Jason@zx2c4.com> <20180918161646.19105-5-Jason@zx2c4.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Jason, On Wed, 19 Sep 2018, Jason A. Donenfeld wrote: > On Wed, Sep 19, 2018 at 12:30 AM Thomas Gleixner wrote: > > > > > +++ b/lib/zinc/chacha20/chacha20-x86_64-glue.h > > > @@ -0,0 +1,100 @@ > > > +/* SPDX-License-Identifier: MIT > > > > Please put that into a separate one liner comment. Also this should be > > 'GPL-2.0[+] or MIT' I think. > > I had that originally, but changed it to just MIT, since MIT is a > subset of GPL-2.0. And looking at tree repo, it appears this is what > others do too. Subset? Not really. Both MIT and BSD3-Clause are GPL2.0 compatible licenses. And if your intention is to have those files MIT/BSD only, yes then the single license identifier is the right thing. If you want it dual licensed then it should be expressed there clearly. Thanks, tglx