Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp604583rdb; Fri, 6 Oct 2023 12:47:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHNPxodEBABkQEwd/6K2X3L6RrY+obP4hmzufEyJ2w6/3eQ030IKLTkOPo5bRew+YRy1Vhg X-Received: by 2002:a05:6a21:789a:b0:14e:6c19:60f6 with SMTP id bf26-20020a056a21789a00b0014e6c1960f6mr10310413pzc.50.1696621675088; Fri, 06 Oct 2023 12:47:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696621675; cv=none; d=google.com; s=arc-20160816; b=hwrRujbTjqpR85zD1FioRB5layDXjmkBlqpY6ptVb77RQR3cuCEak8cozak8NocfgN zpujQFCbnvw/3AZlghbd8tvqC9JdENvI/Dy4ySMhRWvffbJhH6bDw98bHzEiSYazjJgY BHfIErNUmqE/Qr6HsFQg/C16Y2AEt+xAzGK5gawCkOqQxxzHXo9zOkUvMJkjWteVzgaj 0dKviwHf7TXNGMemL0Hq1rhn1KTppqhpcmXQtuoxAFNBcwQzsHGvjzUSFrtzbdHIRtzO rDL4iNRYUhywtBwD8nm9aDeP8q15OcIOYYg/y/A780lnLZSHKNWRRPbuBEWkCWc3BGD7 bE+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Y7IRVzdJQaKEst3ofJcqOv/m9rdQKs6w1zh/JTKMlsc=; fh=ZlUa7px8T+K6PckP7vJqQFaJOQ/iBJtF2C4s+kns/XM=; b=Gh/bguclkEKzmunaeJE73NHowMJRn0t4QEIV+uwHMquwXbxaMo1vCAZIh+3mprq3fb WRLrKH2C/1hAh68gS1OweN4YYXDNKqxdU5yrEIVETEw5tMY2CVXd7HONd0UzsTII92SH ysv3mgH/6zQACmoiFKekMrRDghUWPmqkRHTUdTPsGb7WgEtdWiWeQqWKO+Dgu7L7rvO5 EAfBJaLyYKlmFjMyQKbFdA5nYj8jdyZHrJJikH7ZsoeqTtQzuZKoeCR1678z1Sb39Dlm D0/Qoxm/gTdRpPAptuqF5dScTE9HKYi5aV1JUQW+J1obf7Hv15pxJ0IVrCKyAAT0OKGJ YIPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ni0MjEaH; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id f17-20020a631011000000b005637e28270fsi4217088pgl.243.2023.10.06.12.47.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 12:47:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ni0MjEaH; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id EC611801D664; Fri, 6 Oct 2023 12:47:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233283AbjJFTrr (ORCPT + 99 others); Fri, 6 Oct 2023 15:47:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233279AbjJFTrr (ORCPT ); Fri, 6 Oct 2023 15:47:47 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B3ABBE; Fri, 6 Oct 2023 12:47:44 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 48A23C433C7; Fri, 6 Oct 2023 19:47:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696621663; bh=h0DLLJZqCZlG+/BaIeE1qTGFs+lWvxzxYNkN6b5g38E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ni0MjEaHF+7SUg/jgNB0F/EFSlY5Rx7mXGORS93Lqm3ftLmTcwLCTzd8Gj3ruGldL Lp/tD0zEJ7E2NsimLDKVwqvPLnk8PlIVT1e+7M0mllsQOE/T7g2WtRMMWLWsZ+2Ws/ /tCU2DcJj30lTM0LW/PcN29PoAihSRX4H53qCt/3vYxUlVG8zSglonRkAGGkQCkMN1 07wZT274f7iTthdaoWIxvTbtG3KpcNHnR9S3Sh9OafhmqXN7Ou49vBhfrJFThEO93L L0MaK2akLYss4R49XnIF4jU+84tUjM/ZJNNqiN+itv3BJg+2s9SZSjVgej0wBh5Epz 5hIq5w+jxbbmA== Date: Fri, 6 Oct 2023 19:47:41 +0000 From: Eric Biggers To: Jerry Shih Cc: He-Jie Shih , Charlie Jenkins , Heiko Stuebner , palmer@dabbelt.com, paul.walmsley@sifive.com, aou@eecs.berkeley.edu, herbert@gondor.apana.org.au, davem@davemloft.net, conor.dooley@microchip.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, christoph.muellner@vrull.eu, Heiko Stuebner Subject: Re: [PATCH v4 00/12] RISC-V: support some cryptography accelerations Message-ID: <20231006194741.GA68531@google.com> References: <20230711153743.1970625-1-heiko@sntech.de> <20230914001144.GA924@sol.localdomain> <3A0F6A71-C521-44A5-A56C-076AF3E13897@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 06 Oct 2023 12:47:54 -0700 (PDT) On Fri, Sep 15, 2023 at 11:21:28AM +0800, Jerry Shih wrote: > On Sep 15, 2023, at 09:48, He-Jie Shih wrote: > > > On Sep 14, 2023, at 09:10, Charlie Jenkins wrote: > > > >> On Wed, Sep 13, 2023 at 05:11:44PM -0700, Eric Biggers wrote: > >>> On Tue, Jul 11, 2023 at 05:37:31PM +0200, Heiko Stuebner wrote: > >>> > >>> Hi Heiko! Are you still working on this patchset? And which of its > >>> prerequisites still haven't been merged upstream? > >>> > >>> - Eric > >> It is my understanding that Heiko is taking a break from development, I > >> don't think he will be working on this soon. > > > > We would like to take over these RISC-V vector crypto implementations. > > Our proposed implementations is under reviewing in OpenSSL pr. > > And I will check the gluing parts between Linux kernel and OpenSSL. > > The OpenSSL PR is at [1]. > And we are from SiFive. > > -Jerry > > [1] > https://github.com/openssl/openssl/pull/21923 Hi Jerry, I'm wondering if you have an update on this? Do you need any help? I'm also wondering about riscv.pm and the choice of generating the crypto instructions from .words instead of using the assembler. It makes it significantly harder to review the code, IMO. Can we depend on assembler support for these instructions, or is that just not ready yet? - Eric