Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2274010imm; Wed, 3 Oct 2018 00:59:08 -0700 (PDT) X-Google-Smtp-Source: ACcGV63P+gHEQTM8aEjb8SD4fj+TGfRCyVMz34zvSn0oQ5BRbuJ4C6V/7k4knFBydMBg+L0L8LnO X-Received: by 2002:a62:b87:: with SMTP id 7-v6mr307400pfl.67.1538553548328; Wed, 03 Oct 2018 00:59:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538553548; cv=none; d=google.com; s=arc-20160816; b=ahlpxyo3ZW9MONNrFGZkf7jgMu/mYMP3X1AcjYajfYHEjwrEYfdJ2esqph2FpeLapc iVSK9AaxPhhwkk48m/aVBaPUSCbPk/CZkK4H6aquSJhKFukem5NpVmpliZrAF+pujC2d eFD8hGMEWRc1gILuLTH4QG+6+QhxcpMj0ajxZDpV7nRqpMAz+WIimWu9FHkrPtDjRh4T mxHyKG6lPoXmjOFSZ4MoTThgCvyzPy3jMCbwUN9yzkBJJqzE9GvN6zR3Ov7vnstUBtIo bgATcO6xpMUR33kT7cIs3213FuvA8DumhG/vyjzVGm+ea0xvcMos74esuy0zzKvUxF6e 5LMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=w7U3hKkzXO+tAUJhJY+xjsKPqkh0CTBzgdIvCsl9vKo=; b=wrLUmE3n3PZfRvp06LpzmRKZwTfGDntDHV0UumaaJ2KvUqkPdPrV+d91bf/DFt9FHq pkX3yazahpfZ/hfvF8q9bf/LN/lvLELP2rUOry3cr4+gL8Arj6HJoeowKLmWHL3lPV53 8E5DKF9WviyBfHFqpSkUZt2XNdPllzgGDEL64HsulcG2kAPVBQecY6Ojra40/VBsEvPG KCJgIj6+h2Qv3kAQx6iOFRde9iCH6GoadVlnCD5UFYynqJeeHCfy4K1k95YmB02ZZf1b 0rODHggsgxGD0M99hJpiG4YP6TnLs7mz+bxgdE7R8MOVOQ2ku6xQYG9qewMF8T/zsV48 s6SQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WRFLq+vR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a186-v6si713971pge.55.2018.10.03.00.58.52; Wed, 03 Oct 2018 00:59:08 -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; dkim=pass header.i=@linaro.org header.s=google header.b=WRFLq+vR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727261AbeJCOpf (ORCPT + 99 others); Wed, 3 Oct 2018 10:45:35 -0400 Received: from mail-io1-f67.google.com ([209.85.166.67]:45395 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726943AbeJCOpf (ORCPT ); Wed, 3 Oct 2018 10:45:35 -0400 Received: by mail-io1-f67.google.com with SMTP id e12-v6so4251410iok.12 for ; Wed, 03 Oct 2018 00:58:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=w7U3hKkzXO+tAUJhJY+xjsKPqkh0CTBzgdIvCsl9vKo=; b=WRFLq+vRDxkoRLAqhfYV9BQjHxsK5cMKzIU2jZv6158XqZkpStdvJ6DpD33YlW50Ul OwWv2o9I4I9nRHQDRamLDYQXX6b+OFtLdG2ASt7haXAq6DCpnyqF3OVTJqtsHIx6L5Ae vh0Z62zesvlFITxjvoWMLUHk6T0mQ/KoseiBg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=w7U3hKkzXO+tAUJhJY+xjsKPqkh0CTBzgdIvCsl9vKo=; b=SKrfL8WAkj86pa/Y1MNTFnU5KEv12th+yLr0aN0AwTdzh7AO0PDfteK3afB2PQoHgK c9jqfKlofGoUAIJlnYfVE44Ac7GYbYqWc6cFI2aEWvxpgDcGbprnTrStUZKyRfs8u0yO B4eUw/6YIZtysFm2lJ9Q8RMaVeBBFkrFCTuq54T0RXAPB4OjKedGfSOjbLqJKCE4xcdg Cp4dLkUdV9DZ8cVI1aaEo8cjpJcSubMakVec1EcBequ+P8uNizuPMm39DKJzh6BUWVeY YE1TeHA/pUAdo5xi9CF6RbWutVOK/RlyMk64uxyRtIf2D3eqEtB7sj4GFDKk1c3P6rJU pCfA== X-Gm-Message-State: ABuFfojvXLo879pOtyr1KoSojfDLJFn492woUYM0LDWHYAEFXNbyTUaI oCoL7nrexc0HaLDOxYHH4+/UK3bCmoCWHWxUntOXLg== X-Received: by 2002:a6b:be83:: with SMTP id o125-v6mr160539iof.173.1538553498584; Wed, 03 Oct 2018 00:58:18 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:5910:0:0:0:0:0 with HTTP; Wed, 3 Oct 2018 00:58:18 -0700 (PDT) In-Reply-To: <20181003061236.GB745@sol.localdomain> References: <20180925145622.29959-1-Jason@zx2c4.com> <20180925145622.29959-12-Jason@zx2c4.com> <20181003061236.GB745@sol.localdomain> From: Ard Biesheuvel Date: Wed, 3 Oct 2018 09:58:18 +0200 Message-ID: Subject: Re: [PATCH net-next v6 11/23] zinc: import Andy Polyakov's Poly1305 ARM and ARM64 implementations To: Eric Biggers Cc: Andy Polyakov , "Jason A. Donenfeld" , Linux Kernel Mailing List , "" , "open list:HARDWARE RANDOM NUMBER GENERATOR CORE" , "David S. Miller" , Greg Kroah-Hartman , Samuel Neves , Andy Lutomirski , Jean-Philippe Aumasson , Russell King , linux-arm-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3 October 2018 at 08:12, Eric Biggers wrote: > On Tue, Sep 25, 2018 at 04:56:10PM +0200, Jason A. Donenfeld wrote: >> These NEON and non-NEON implementations come from Andy Polyakov's >> implementation, and are included here in raw form without modification, >> so that subsequent commits that fix these up for the kernel can see how >> it has changed. This awkward commit splitting has been requested for the >> ARM[64] implementations in particular. >> "This awkward commit splitting" Seriously?!? So you really think it is fine to import huge chunks of code like this from other projects without keeping track of the local changes? >> While this is CRYPTOGAMS code, the originating code for this happens to >> be the same as OpenSSL's commit 5bb1cd2292b388263a0cc05392bb99141212aa53 > > Sorry to ruin the fun, but actually there are no Poly1305 implementations in > CRYPTOGAMS (https://github.com/dot-asm/cryptogams). Nor are there any ChaCha20 > implementations. > So was this code taken directly from the OpenSSL project then? If so, why do the commit messages claim otherwise? > Andy P., can you please add your Poly1305 and ChaCha20 implementations to the > CRYPTOGAMS repository, so that they have a clear kernel-compatible license? > > It would be great if you'd include a kernel-compatible license directly in the > versions in the OpenSSL tree too... > Yes please.