Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2467807rwd; Fri, 16 Jun 2023 04:13:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4K9/sVuGLFCTHqvnzsjyLp7lUD5Js3urtM9IeYCJc1fiparCAzFnjbq5DaGVFRC/SMln/U X-Received: by 2002:a17:902:ecc6:b0:1b1:9272:55e2 with SMTP id a6-20020a170902ecc600b001b1927255e2mr1976099plh.3.1686914031910; Fri, 16 Jun 2023 04:13:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686914031; cv=none; d=google.com; s=arc-20160816; b=XZRMHGUoguTUluWxFmSMndTRfCK5sYMJstXiTzQaI94C0aL8V8lTnh0rGOBjzluoze utkahJvTtdzwbkhlCY9pfPiOAuhfrFwKHiyNTTLA7rgNEALT9bWR1SxgoPHZGVnFpLiP I0rX6QfCvRwECOUC+oqenhMsNJimIKidrD2BCh6S1X21IGgnoGs5D4BzC16NY546bjpA r1tP3UM4ve8Qg2rgg8aj6dVqa8kRdC0zBhsfEzGVeMN83TwZWJ9dmkiPKU5p343Anugq b/FDrt3AmJW6SfoVdMgjCOi75rnLKDMkOWfyHn5CpoygK8ZskNFp+cXfIn9I/nm82z+O oGlg== 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; bh=RtRM5KLHatc8YF9BuQZtkDcxCwhOw382PNqXu5Wyoh4=; b=Ok/pjZZya1i4p5Tum5GfKz9+x/mn+cgLtzo6xLFMkpZUlCa0sISZ1QqiFNRbjTUFkX tYNMhdkjSmSiSzdcefL4Ew3b/bFi5QEx0V1uxi8JBji1OCPErot7ZPs5gb5nzcufhGpl sPZUGlvK5UIl45esCDM0cTjWQ/t14hIBBjsBCyO3vmS/6RH5PKjOLr7PGOmY0vfOtYUq KR+qpe7A4E9MQJuqqgxdLmPj3WWP5XbfTInW745V3XKsDfB84TMVF/0kD7qceFBGMt5i dX3biUgvC03P+aKle2+s1ZQD/DIzSKOSOGAPtRU46oKI/1Wqyp6Mnf72Fg2aAF3BfAJI 0neg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k10-20020a170902c40a00b001a691f376e8si12716194plk.415.2023.06.16.04.13.39; Fri, 16 Jun 2023 04:13:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240978AbjFPK61 (ORCPT + 99 others); Fri, 16 Jun 2023 06:58:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244639AbjFPK6O (ORCPT ); Fri, 16 Jun 2023 06:58:14 -0400 Received: from 167-179-156-38.a7b39c.syd.nbn.aussiebb.net (167-179-156-38.a7b39c.syd.nbn.aussiebb.net [167.179.156.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2C30468E; Fri, 16 Jun 2023 03:51:31 -0700 (PDT) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1qA6n9-003mBe-Da; Fri, 16 Jun 2023 18:34:56 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 16 Jun 2023 18:34:55 +0800 Date: Fri, 16 Jun 2023 18:34:55 +0800 From: Herbert Xu To: Heiko Stuebner Cc: palmer@dabbelt.com, paul.walmsley@sifive.com, aou@eecs.berkeley.edu, 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 v5 4/4] RISC-V: crypto: add accelerated GCM GHASH implementation Message-ID: References: <20230612210442.1805962-1-heiko.stuebner@vrull.eu> <20230612210442.1805962-5-heiko.stuebner@vrull.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230612210442.1805962-5-heiko.stuebner@vrull.eu> X-Spam-Status: No, score=2.7 required=5.0 tests=BAYES_00,HELO_DYNAMIC_IPADDR2, PDS_RDNS_DYNAMIC_FP,RDNS_DYNAMIC,SPF_HELO_NONE,SPF_PASS,TVD_RCVD_IP, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** 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 On Mon, Jun 12, 2023 at 11:04:42PM +0200, Heiko Stuebner wrote: > > +struct riscv64_ghash_ctx { > + void (*ghash_func)(u64 Xi[2], const u128 Htable[16], > + const u8 *inp, size_t len); > + > + /* key used by vector asm */ > + u128 htable[16]; > + /* key used by software fallback */ > + be128 key; Where is the fallback? Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt