Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp798136rdb; Wed, 1 Nov 2023 03:10:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHGbkQOU8qemuA+2HFjtPFaOVe99LCw1OyN9CoZtg35m3aeGAdSeMNRnDNs6oAftSNW9jym X-Received: by 2002:a05:6808:23d6:b0:3b2:f2e0:6b39 with SMTP id bq22-20020a05680823d600b003b2f2e06b39mr18550892oib.12.1698833456540; Wed, 01 Nov 2023 03:10:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698833456; cv=none; d=google.com; s=arc-20160816; b=jVpnqc3/1S6iTirvY/awT9dLoyhDblQ44Hz1Sm3Vzw69yrXu+kXi1UH8eA9uv2t3lY LIUpD242j5mrTP5z5fwlO3n8eZIt7HEOQZwT1kfSqZ/9ymDaHsXtMEcsbewDea6qNhBY SBqHmtID49pXaHODEMwd7ROS2My94NLPps33tKDYL86ClOqy+Rjk6VgB+t4aqEK1qd4c Mk5lS9m59wBTN//rT+g7S3UQQEVrMN9aKjSBLkUm+4dk5jgcl+Qcw4CvzWQOe0GBW49K f9ithWOwIrdoop+fPC0lHU7n+3g6bIq6FNwUJzCbaaqf8KKH8rUYxN/B5ZskEH0i2WVH 5M/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=WYOVrZA76j/xi/nxAT6+1XF3nGXTpM+z0SjVhBFO4dI=; fh=dPhwd8CbDgTX12VV/Gd8oBd8Xuikks+7kTvNuuwDmBE=; b=KLQScA7fqEHtmK/f979UKVAAHsLEPjpE1sq41+JSoaxcziWyCUp8iso3i9nvM+dOms qemmFOnV1dFQee+o92oMzFCkgibg/jFKM6aERsW9z0XI0lC0PwOQOcxUdUhviVT74EZZ MJqlCONl1+bHPEUjXKi8WWQK7o8WtWPKaPRTu60pt6i30i8W9aGqjpcmnemQowzQzRUD pNkDry7KX6aWJX0XdLRvpAzvXGqBeWXHNi0bD+M4b3EZ+NxYDz+HAYwt1D6+AhlWG/rE oh8ADKVdRqfZiRw1CXx8O8y2+mQVbxMReBUc4ygf9QzRe1ZP4diUNGOOGH2iIFSzlXMZ tGyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=V3A9dZHW; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id fa37-20020a056a002d2500b006be198b9332si1345092pfb.143.2023.11.01.03.10.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 03:10:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=V3A9dZHW; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id EA9F98084059; Wed, 1 Nov 2023 03:10:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230178AbjKAKKr (ORCPT + 99 others); Wed, 1 Nov 2023 06:10:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234882AbjKAKKq (ORCPT ); Wed, 1 Nov 2023 06:10:46 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 593EEE4 for ; Wed, 1 Nov 2023 03:10:42 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D700BC433CC for ; Wed, 1 Nov 2023 10:10:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698833441; bh=QFH4mbOlwulYYasFS3YuYwTE92akGQL8J4F9Y36xcuI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=V3A9dZHWYN/ljW33r4rPDYX2hWgMeE5fTvsiql7Uu1cL216ab8euWmr2ZgeudaXJg Yl8vVJpFMCTJ0uch4n8S93s6z+HRj/gqxa3CW3sJ6Z+7cIC9eYYnObFo+vWBe9IEoF pdTV6uy8FqI+F66TjJHgEX5Pqhl7WEejLGUWWC3nQC12W/ynCYdB9udDi/jAiu8+cN 9ozsRmE+9qffNQMVoSCxQXPU1zWw3uXzYI+QavEIQffBlUSqm7/0OOUfY6h4fiGxaR 2Uvbjk5rhO3EAqwK3oUFDmWWQusXZZ5fkM9gZJw1q4TI9gjUJBoJZ+TY7ytwlXh9M7 mkOyilr1RB1Sg== Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-507a5f2193bso768095e87.1 for ; Wed, 01 Nov 2023 03:10:41 -0700 (PDT) X-Gm-Message-State: AOJu0YwGYeYNfEl4GtHEDaPoPqEt4ErjWkIbP4s5zQ9GuXJfqVHpxrEQ wKtHSh4ZolLWZaXNEwrOeCz4k3JncxWTnDJJmEc= X-Received: by 2002:a05:6512:3189:b0:504:320a:b420 with SMTP id i9-20020a056512318900b00504320ab420mr785872lfe.17.1698833440076; Wed, 01 Nov 2023 03:10:40 -0700 (PDT) MIME-Version: 1.0 References: <20231027-stage-cable-022844c2567d@spud> In-Reply-To: <20231027-stage-cable-022844c2567d@spud> From: Ard Biesheuvel Date: Wed, 1 Nov 2023 11:10:28 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] crypto: riscv/aes - Implement scalar Zkn version for RV32 To: Conor Dooley Cc: Palmer Dabbelt , herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org, ebiggers@kernel.org, linux-riscv@lists.infradead.org, Paul Walmsley , aou@eecs.berkeley.edu, christoph.muellner@vrull.eu, heiko.stuebner@vrull.eu Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.6 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email 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 (fry.vger.email [0.0.0.0]); Wed, 01 Nov 2023 03:10:47 -0700 (PDT) On Fri, 27 Oct 2023 at 15:17, Conor Dooley wrote: > > On Fri, Oct 27, 2023 at 06:11:40AM -0700, Palmer Dabbelt wrote: > > On Thu, 31 Aug 2023 10:10:21 PDT (-0700), Ard Biesheuvel wrote: > > > On Fri, 4 Aug 2023 at 10:31, Ard Biesheuvel wrote: > > > > > > > > On Fri, 4 Aug 2023 at 10:21, Herbert Xu wrote: > > > > > > > > ... > > > > > > > > Hi Ard: > > > > > > > > > > Any chance you could postpone this til after I've finished removing > > > > > crypto_cipher? > > > > > > > > > > > > > That's fine with me. Do you have an ETA on that? Need any help? > > > > > > > > I have implemented the scalar 64-bit counterpart as well in the mean time > > > > > > Is this still happening? > > > > I don't really know much about the crypto stuff, but looks like there's > > still a "struct crypto_cipher" in my trees. Am I still supposed to be > > waiting on something? > > Regardless of crypto_cipher structs, this needs whatever series that > actually implements Zkn detection from DT/ACPI to be merged first, > as otherwise the definitions that iscv_isa_extension_available() depends > on don't exist. > Please disregard this patch. I have an updated version already, but I'll need to rebase it once the prerequisites are in place. https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/log/?h=riscv-scalar-aes