Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1022044ybh; Thu, 16 Jul 2020 00:31:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzT+5OdyRdGJSTmR9eokfzXQCoqacxMo7numkuW8skSt+ffq5ybjEh197bgmRowepQLk3wa X-Received: by 2002:a17:906:4b46:: with SMTP id j6mr2383128ejv.403.1594884702889; Thu, 16 Jul 2020 00:31:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594884702; cv=none; d=google.com; s=arc-20160816; b=W5afSO17yCUmKQjHHHtpjY6OhhNMY8/UISjJX9zzgmNWrXBGse1SVNYd0qDrdmAshM Y6eOwAHCFRETn8KgLkgoAXnLEOD6/ieaFDMDsWcAR3vwkHIvKFOmoKTWuNe6jjpNGZv/ wHMALS/a5fDYt+I7tMWWIZ5NVP9X2rln3D6/XD57rJs8IfDxoQC76vXhwfn0Led54XvI uP8pzXHp/rvC/jvhft2eFcJlE18cFwB7gBoecXodePZLMXoxBKLxoy4nuHL0mOiwp7Pw 1T/iLrMWHNoCNRF4OcqsDh5eCHGWn9xcWyCxv7cFpZ706WBtxUhAuQxq4x0BY5656zTk WdZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=o7KyGnjVk7UiGX0JF94baidWf5hYxpIxiq9EMyxdgQw=; b=FcFWWA6XJStIn/Zwdwnb2kQnSalZ6QkEGHrIsCFEC9rMxn3KbjFUfVFU2Tixso3UNR QUzqfUXi1H+TVv+UVLIVpQxIDPBi6HNPPFU2BXkv/sbm0Zzl2xuCaKf2KcMpu1CaCZ4j 78Y1/7JAEDnSYTOMBwRy6kRTgHWuRgV2UJ6ayDmRu21QaPUph5iAsIIdBqJ4p6z1qVuK qRN8d1lxJnQbuDR+vUCU8Gut9taRiAy9a3qjfb7P0NP8lfsADwGPwxrbCjDeztd4FOf3 a49xGkn1WDXf0HngwqywpCZLu1ekv039h8XZX3X2Z4j+MeUD46gdcZppct4qrsp9rGqF 7uTw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v18si2764706edy.249.2020.07.16.00.31.18; Thu, 16 Jul 2020 00:31:42 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727883AbgGPHam (ORCPT + 99 others); Thu, 16 Jul 2020 03:30:42 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:39686 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727768AbgGPHam (ORCPT ); Thu, 16 Jul 2020 03:30:42 -0400 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1jvyLg-0003eF-K6; Thu, 16 Jul 2020 17:30:33 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Thu, 16 Jul 2020 17:30:32 +1000 Date: Thu, 16 Jul 2020 17:30:32 +1000 From: Herbert Xu To: Stephan =?iso-8859-1?Q?M=FCller?= Cc: linux-crypto@vger.kernel.org, Marcelo Cerri , Tianjia Zhang , ard.biesheuvel@linaro.org, nhorman@redhat.com, simo@redhat.com Subject: Re: [PATCH v2 2/5] lib/mpi: Add mpi_sub_ui() Message-ID: <20200716073032.GA28173@gondor.apana.org.au> References: <2543601.mvXUDI8C0e@positron.chronox.de> <5722559.lOV4Wx5bFT@positron.chronox.de> <4650810.GXAFRqVoOG@positron.chronox.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4650810.GXAFRqVoOG@positron.chronox.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Sun, Jul 12, 2020 at 06:39:54PM +0200, Stephan M?ller wrote: > > diff --git a/lib/mpi/mpi-sub-ui.c b/lib/mpi/mpi-sub-ui.c > new file mode 100644 > index 000000000000..fa6b085bac36 > --- /dev/null > +++ b/lib/mpi/mpi-sub-ui.c > @@ -0,0 +1,60 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > +/* mpi-sub-ui.c - MPI functions > + * Copyright 1991, 1993, 1994, 1996, 1999-2002, 2004, 2012, 2013, 2015 > + * Free Software Foundation, Inc. > + * > + * This file is part of GnuPG. > + * > + * Note: This code is heavily based on the GNU MP Library. > + * Actually it's the same code with only minor changes in the > + * way the data is stored; this is to support the abstraction > + * of an optional secure memory allocation which may be used > + * to avoid revealing of sensitive data due to paging etc. > + * The GNU MP Library itself is published under the LGPL; > + * however I decided to publish this code under the plain GPL. > + */ Hmm, you said that this code is from GNU MP. But this notice clearly says that it's part of GnuPG and is under GPL. Though it doesn't clarify what version of GPL it is. Can you please clarify this with the author? Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt