Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1846889ybl; Sat, 14 Dec 2019 00:57:32 -0800 (PST) X-Google-Smtp-Source: APXvYqyp6jSQfadOesK4uid57xX251d1eb/oegcTX5yDeVVYCNdHOfIpgK0U5z247L0hRTGERaAt X-Received: by 2002:a05:6830:160c:: with SMTP id g12mr19084576otr.82.1576313852174; Sat, 14 Dec 2019 00:57:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576313852; cv=none; d=google.com; s=arc-20160816; b=AEGGGoHUebJ2TZTWaHF+yA+YbTRB+54TTAOiBPV/FwQnqLMzHkjenh/NU9Mo5H5t41 YvNwhnkdMWpPJW/M3TJuqOKFSBsyt695uPKo8Yx4PO+n0ltmGSEEDQDEVbDKSiK1a+c+ jxzyMZB8y2/9VQwbjtsdF3w9p65vugNTx5E8KSxr6G+VAP/3odqnZib6Pg71/tjv1ASo t3ZLqGmvrQ+PV8zGzVs7sfKisdhUv6vePhMB4kmleb0LcK8/m+H0ELkOXPmuVdITcHSH YdEpsZ1lcJXiIZu4BGK6xQmZDX1PTx/JqS0fdlsSgHV5daKUOGCUBTyjX0UY26Gb/mOg oeXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:message-id:subject:cc:to:from:date; bh=zkEkfKVOVdyV3Uo6Er0ex6Qj3PRQMm1zI/jEP61+oZY=; b=uPWiP/mD0h6gd2NyJwojy3/vRrGKP4NG80g9UPJqENslKl3KT70ekc1FK3FvZIDvc2 wZ96fsAdGkgKdQzaMkIOf17/ADjHVz7nT8TsXsTY2y59NWVKC0uMabg30AeHmIWpNOId DAMfDEhikX1WjH2r/qzFyCu05aRwUE95I2GhAVXzpRkNCRUZpRuBGNloksSGEc34Mcsx J8rbSWICruZEnwtYnZfdLUQwlCOkeEn6O9PsKKvRntK7mzj9rfiumU6An9VOIIzf4bRQ JLfTrw4c5pwNXmCYRQZwnojfMRfizM9ZeHIKzG0DOubOP3EvHTckDfQxQbxvY/oXlIBh hsCw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 g6si6716901otk.171.2019.12.14.00.57.18; Sat, 14 Dec 2019 00:57:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725876AbfLNI4U (ORCPT + 99 others); Sat, 14 Dec 2019 03:56:20 -0500 Received: from helcar.hmeau.com ([216.24.177.18]:38846 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725851AbfLNI4U (ORCPT ); Sat, 14 Dec 2019 03:56:20 -0500 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1ig3Dh-0004BO-R7; Sat, 14 Dec 2019 16:56:13 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1ig3Dd-0005sE-1S; Sat, 14 Dec 2019 16:56:09 +0800 Date: Sat, 14 Dec 2019 16:56:09 +0800 From: Herbert Xu To: Eric Biggers Cc: Jason@zx2c4.com, martin@strongswan.org, ard.biesheuvel@linaro.org, linux-crypto@vger.kernel.org Subject: Re: [PATCH crypto-next v2 1/3] crypto: poly1305 - add new 32 and 64-bit generic versions Message-ID: <20191214085608.b53yiogf432zxyw7@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191213032849.GC1109@sol.localdomain> X-Newsgroups: apana.lists.os.linux.cryptoapi Organization: Core User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Eric Biggers wrote: > > Now, it's possible that the performance gain outweighs this, and I too would > like to have the C implementation of Poly1305 be faster. So if you'd like to > argue for the performance gain, fine, and if there's a significant performance > gain I don't have an objection. But I'm not sure why you're at the same time > trying to argue that *adding* an extra implementation somehow makes the code > easier to audit and doesn't add complexity... Right. We need the numbers not because we're somehow attached to the existing code, but we need them to show that we should carry the burden of having two C implementations, 32-bit vs 64-bit. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt