Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp838947ybl; Thu, 12 Dec 2019 05:47:36 -0800 (PST) X-Google-Smtp-Source: APXvYqzHhnnBnTnzj9vm+5DNEHTi+H7v/+2J8IjyToR50COzYBfDRqYAWEZaPdgydI4Wa08LaHox X-Received: by 2002:a9d:22a8:: with SMTP id y37mr8020372ota.359.1576158456346; Thu, 12 Dec 2019 05:47:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576158456; cv=none; d=google.com; s=arc-20160816; b=b6/aLWD/4rsXQ0PhE7ZNBoamwXK01bmV1vrVKFoGZTUzry+oP99jKn/EshDQUMaK+U UsnaeNW41amGVlOwCR2Rcl9tHGqGn8Gabes2v2Bd+7IjfojiwlK8tWiXja0MJjeskagf sI7dObkaJ6ei9cm0LvvEW7WTLI0pvYZsSsyV792bMAJFIOzi6uL+KZOctLajbGjkiAl0 yVZB9KnbJTfb+rxtgjqfxiKeNUzMxjrgguktRliA03LLmF8nH5naEuxXGf88tZerN2qq rgabhcw4YCpxpdqhm5QF9MWaaUv7eY6yxyPJHn/9GnApYVVtNBhb6t9BAS3qPIboG8w6 edcA== 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 :in-reply-to:references:mime-version:dkim-signature; bh=l1zYbiEIJVdvr4JMEPqgFlLu0Lr8VMb8t8RuhiAruXw=; b=E0ZXZ/tikG+cjforGRVBRZ2LNSx8PIDGSRfW8x1IK//xkjLaWCFxkHteEYirXske3o 5En2SR1Cy7E3zravTvRZhXo+JD6d9SWmn1uRy3ken/0oVASakbidZhkn70XgChIV6A3E JIjt1xDC+yNUDtQ5U+jHEw4XZjTqAzu8ck0M58ij8OrePIEmUN8l62hFdXoML+kYv9a4 uDlr80eeA7fv7dhriE5A7VvZcGuCfCQNPeuwTbsKMVlMfuOSYU4hK4Kc++Hs7D2xyWdR ZLFG7AobbGoIFboCeJTqrWYywhBuZSA+JYOeVub+8qEvPplwLbv4SzMq0SiEiqnOEpyX Fo4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=mail header.b=WVMYdc5p; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l127si3153612oif.11.2019.12.12.05.47.06; Thu, 12 Dec 2019 05:47:36 -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; dkim=pass header.i=@zx2c4.com header.s=mail header.b=WVMYdc5p; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729425AbfLLNrF (ORCPT + 99 others); Thu, 12 Dec 2019 08:47:05 -0500 Received: from frisell.zx2c4.com ([192.95.5.64]:40379 "EHLO frisell.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729405AbfLLNrF (ORCPT ); Thu, 12 Dec 2019 08:47:05 -0500 Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id e2bef9ae for ; Thu, 12 Dec 2019 12:51:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=mime-version :references:in-reply-to:from:date:message-id:subject:to:cc :content-type; s=mail; bh=RioIjPi7ht8fNguLSmoJsPePgM0=; b=WVMYdc 5pxqq3dCThQBw5ZZwR5qqJCm8oVdHfJcp+TwMpa3HfmsDcaHtqaj7+KbUztgsN+q FOr4yZ72xeuF2K/bwJiNXmBXTPOWcDTjhXDd2mqb2JBKGQEgDOfUISrxlIJNgsdq s/4MXBg7Z3y598t9oX0Vrp/NeAGxh3vhQh32LwZ1s/fN5/Nw2Q74Q6Ol6hQ8YOz1 wR5WeQ8hxYKBRL6v2FiPzQbWdmDuP5YOKLHQcOAvYzPwx7S7hD1qK3OZWlDjmLlx VuVWExbi9qXpac74DvGXW7HRQk7X0/wu4u+VBuTVz4SP8JLA8i6W/jj34ewn5vxa r6zmNHZroh+BJhfg== Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 3bb240a3 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Thu, 12 Dec 2019 12:51:16 +0000 (UTC) Received: by mail-ot1-f53.google.com with SMTP id k14so2037561otn.4 for ; Thu, 12 Dec 2019 05:47:03 -0800 (PST) X-Gm-Message-State: APjAAAUKISGkTtuuzA3QGZ7IPoye1x2VEc07h2hanuonw/k0Ym+o7Ix1 If0Ap3vvDvJNz8te2PGthhhuBirjZs8Lhk7Uq5k= X-Received: by 2002:a9d:674f:: with SMTP id w15mr8350435otm.243.1576158423191; Thu, 12 Dec 2019 05:47:03 -0800 (PST) MIME-Version: 1.0 References: <20191211170936.385572-1-Jason@zx2c4.com> <20191212093008.217086-1-Jason@zx2c4.com> In-Reply-To: From: "Jason A. Donenfeld" Date: Thu, 12 Dec 2019 14:46:52 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH crypto-next v2 1/3] crypto: poly1305 - add new 32 and 64-bit generic versions To: Martin Willi Cc: Linux Crypto Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Thu, Dec 12, 2019 at 2:08 PM Jason A. Donenfeld wrote: > > Hi Martin, > > On Thu, Dec 12, 2019 at 1:03 PM Martin Willi wrote: > > Can you provide some numbers to testify that? In my tests, the 32-bit > > version gives me exact the same results. > > On 32-bit, if you only call update() once, then the results are the > same. However, as soon as you call it more than once, this new version > has increasing gains. Other than that, they should behave pretty much > identically. Oh, you asked for numbers. I just fired up an Armada 370/XP and am seeing a 8% increase in performance on calls to the update function.