Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp874383ybp; Fri, 4 Oct 2019 06:22:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqws3tzGKvva1tXdfb3IwTdOApwJ4LnzBU63hYLMB6QEuPUd06KHEa78aQRvfPae+IQR89OQ X-Received: by 2002:a50:886d:: with SMTP id c42mr15206962edc.24.1570195350277; Fri, 04 Oct 2019 06:22:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570195350; cv=none; d=google.com; s=arc-20160816; b=gVv5jkqcVhYiiid/gKA0qU0/lBIrPAR3VNW+tnM231YEiNopKQWJWlA3bLmaiNvBom uxcTaVQRSjCOeebettJeEcWSiB+eep80+OnZSGWSZJuBaq+tWJU6cShw1z27BXw2zLHS BNCTFpO19oHatQG/eF0eAI9XRVRNWa1UJQ97i1PoUW38Bai9zLOAjqWX7q3Tq6VIg1r6 y148dGl9mxd7aCXtP4W4ngpZNSpCFdpzC9uMZoWXuWmAubGF4NyRxjZhgnLzY4EbL3yy YH+G4kx0bZH5m9lQbrY5IbQz3yX1XIejUFgmWkSZv+gFABUes20fM34eQGcA3W+Axhwz 27Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=wt+jPa/z8sTS0v5fKhyDhMeZNCdOapyyvSgfVFV0uNo=; b=YXaWsE6aRnSCGc5LlJ0GINKoFOl2eYVIsRAN9QIjR+lmlCE/LrHvJ2IN1RdaLedobQ /gsbyQmOEuhOJkFpjycgZ3at+nuGccDvLYBA2gq1mj9aB7r44bWvpraZW9f6NRUvmOAg h0zY18pa1yoZHq4MD48UaH8flTQsOXPKwUtWyZs5nFzvt3XzBYA7jRo8a9TXfTyz0wKB ygtAOXxFfkqkWxw3tCuq7aS0B1BWBxggHqJiQ9I/1C8Q1ItzMP38nHNpPBgWHVKsaa+i tIiNxq3vtR4gFq/lvXHxZYzpzCUlNsDcca9WZX0Vif6JegCqOBRNi4IYX0okicJqZTlb 60dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=mail header.b="HsM1i/jK"; 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 d32si3712684eda.266.2019.10.04.06.22.04; Fri, 04 Oct 2019 06:22:30 -0700 (PDT) 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="HsM1i/jK"; 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 S2388313AbfJDNV1 (ORCPT + 99 others); Fri, 4 Oct 2019 09:21:27 -0400 Received: from frisell.zx2c4.com ([192.95.5.64]:47015 "EHLO frisell.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388393AbfJDNVZ (ORCPT ); Fri, 4 Oct 2019 09:21:25 -0400 Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id de9def0d; Fri, 4 Oct 2019 12:34:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=date:from:to :cc:subject:message-id:references:mime-version:content-type :in-reply-to; s=mail; bh=6XfAux8GapWPe/AoEu/Dh2tX5BI=; b=HsM1i/j KK+5e+qKSydagNLOhs00fnm4L7eqBYEMjmZEXbUSRq/fR0biea6UG4vzPLLyZlGh /mSmJ63j3zMu4nfkzePNG/srv0rJPhG0ZRPOoAtl2whGiLDoRcjPpzWlnyy5OC09 sjGHLDTM4AB0wOopAJ+OjTskyB6b70QFWdaW0PPBImkosEGWd3mdUKlSSe+Gu4NK xSi7J3tNMMahBf4xzfsRnFZ12wi7wxkuhHksvITlA4m3Y473/ovMLq5HsWTBQF3q i1dJSn/oKv5y1Q/msHbBO2KqWS3oOQx/1+faWHMHbwbncafgyk84+BlrpBzOutEv P/bMfTUCYfRMO9Q== Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id ff86fe27 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 4 Oct 2019 12:34:29 +0000 (UTC) Date: Fri, 4 Oct 2019 15:21:17 +0200 From: "Jason A. Donenfeld" To: Ard Biesheuvel Cc: linux-crypto@vger.kernel.org, Herbert Xu , David Miller , Greg KH , Linus Torvalds , Samuel Neves , Dan Carpenter , Arnd Bergmann , Eric Biggers , Andy Lutomirski , Will Deacon , Marc Zyngier , Catalin Marinas , Martin Willi , Peter Zijlstra , Josh Poimboeuf Subject: Re: [PATCH v2 01/20] crypto: chacha - move existing library code into lib/crypto Message-ID: <20191004132117.GB112631@zx2c4.com> References: <20191002141713.31189-1-ard.biesheuvel@linaro.org> <20191002141713.31189-2-ard.biesheuvel@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20191002141713.31189-2-ard.biesheuvel@linaro.org> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Wed, Oct 02, 2019 at 04:16:54PM +0200, Ard Biesheuvel wrote: > > chacha_permute(x, nrounds); Interested in porting my single-statement unrolled implementation from Zinc to this? I did see performance improvements on various platforms.