Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp837258lqs; Tue, 5 Mar 2024 20:01:17 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXxfrzM10WU8NrJAVWTwBduwvoe036uA8YEYNuhAJTbgbreDTf/EqBu9vjwQmeWz//X9Csd0ToR3F5lI3RwrL9C1VDJ8ku/u5A6Libz4Q== X-Google-Smtp-Source: AGHT+IG5Tvm5tEAMCcLscMmixWjYDhIbxOBm+y2f9NrRcWfNg1mVyOAO1psYSav/Mxd2EYsO35Ti X-Received: by 2002:a17:903:2305:b0:1dc:6fec:15d8 with SMTP id d5-20020a170903230500b001dc6fec15d8mr4902202plh.47.1709697657321; Tue, 05 Mar 2024 20:00:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709697657; cv=pass; d=google.com; s=arc-20160816; b=ChKZwrTa1IvpXFwYF3FFzYeWuTz6Nur8/XS/nKcucJJgR7v/j9BKXT1FOK3NqPHcUB MtitP76lEJKljwx8Laf+ewP6rYepF4WW9NEh1EVhsPLlxS2yoCtxDwSb/YRclJZbgcPQ GLpOh3+rBYNiIHT+nyTz5sdh6HVHB6yNKt6zgBZQlyFPgBpM5/wdrwDA5ZvwN9IvHNN9 P2pXxE6ohj4FX6s7XFoVQuVJ74ESQzhHTAdPRWPvmKVW4fiHWuijxLMfcBe9nlLzAOCv NDJtR04lUNzMweY5RHUW99UMHiDEp5KQXCllf2t5SNeEzt22D/58/CDaeDpIWv0Ty3UV 2PwA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=xIf/GqvQOiB2kfmfF6vZXkC57EcbzAufYn+BdEd8Fuo=; fh=7KLhJvE3sQBCnN+Hk3cAqaP2mp/hdindRlbbdeptoQw=; b=JRovda+cOyy0i8AEdyn/UmSXwaBfyM1M/eRgD0dbk2CZLYw2VHYrcfOyOHSPLuuBQi 2ujFiXu4jqwuLwYbggLVwzBQfdHFn2zHkaCvIBggSeuoywK7JbcQ2DkKR154QSFIMnSP DS1xXvD7l6BEbhVmV/GEiZ5D8aXVmc2xhyq1U/9Pk6t8swgapaReUZrE5ZCp8fz0OjFR VUzMmi+Vx/E9CfH9Oyt9bmErgGXr7YO6YkNXI22M/1vG3u/EvQ0mBpFt6Yk7IkIibAut i9knsOvpLwNUXB+A/vBWY41NtP9PUDtVmcD5Gf4llMhO/Qz2aXgqEr9dJ/mdMkZad9Ml PLxg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pRNWAPyF; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-2519-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2519-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id o3-20020a170902d4c300b001dcb3447cefsi11097906plg.167.2024.03.05.20.00.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 20:00:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-2519-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pRNWAPyF; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-2519-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2519-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id F30EA28B03F for ; Wed, 6 Mar 2024 04:00:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8EEF414AAD; Wed, 6 Mar 2024 04:00:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pRNWAPyF" X-Original-To: linux-crypto@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4FA3614280 for ; Wed, 6 Mar 2024 04:00:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709697654; cv=none; b=JydPQPm2DpgcsWGhIuC6/IIYUAbJ4YGzTBVBf2ypRRZnnSUIfvNh0jF+PuCSRvM9gP0MhaZw8kRV9ijK477DcJsWTLe3c7fOU6m3XGGTG+V7fPlRv75H0LNVce4FwKB9oWiZ2orYaIw0Qbf+dgjM5lBGtB3e1sJuoRSExkZtv9k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709697654; c=relaxed/simple; bh=rAa1uyLPHnRWBSj1ygLVRIEJ8L0RTjmTZsGPcSt8KOg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iGNU5eu0ihcGxvOmcnTmEbT3ANDA0Ku/b+wLhREKdmu6z0vp+ofIgjhZa3VZs2sRCkd5ka5AWIRjh0cyF5ny3InL6iQGvzFt+VjaNhcI1PGDBpO9RTc7Qd64tb+DmEK4YEn4ddulJ9xDpCD2ezLwAjBNbvRFsZQLm7kHh1fB0HQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pRNWAPyF; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9C80FC433F1; Wed, 6 Mar 2024 04:00:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709697653; bh=rAa1uyLPHnRWBSj1ygLVRIEJ8L0RTjmTZsGPcSt8KOg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pRNWAPyFrX4HLNODQWWNQiWoxtkc7xOu8oPyrifPrDffo4C06fqWLjmrKI9YDv8lE tRKkL16+uW8bJd7i2iVrcFBGNPxxXyWQZFCb7OHt2KPKEgL0J7P1WgSF11kI1PeJGb +7Twu4fjeXLOyRyQhCtt+C6YiRSNm06B0oWfFmQg1cB+8BlCI+Xvb6P9cXDf+GsQLP CD6Kw4wAQ2h603xhuaEthSfEavoe9MqK/wcYgp6M3X2T5VbdCrvMrGZ6PvKK0XVUAK dLByIB8aP1uQsugzG2Nbit3XgfPNAy/iPFhgmIicR+BEi36c5oJoT1NO4jrxZW+v53 tbtPaVgVH11UA== Date: Tue, 5 Mar 2024 20:00:52 -0800 From: Eric Biggers To: Pavitrakumar Managutte Cc: herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org, Ruud.Derwig@synopsys.com, manjunath.hadli@vayavyalabs.com Subject: Re: [PATCH 0/4] Add spacc crypto driver support Message-ID: <20240306040052.GB68962@sol.localdomain> References: <20240305112831.3380896-1-pavitrakumarm@vayavyalabs.com> <20240305211318.GA1202@sol.localdomain> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Mar 06, 2024 at 09:16:31AM +0530, Pavitrakumar Managutte wrote: > > Algorithms that don't have a generic implementation shouldn't be included. > > > Hi Eric, > Yes we have tested this with CONFIG_CRYPTO_MANAGER_EXTRA_TESTS=y > > Also is it fine if those additional algos stay inside that disabled > CONFIG. SPAcc hardware > does support those algos. > > - PK > If you provide an option to build them into the driver, that still counts as them being there. I think they should just be left out entirely for now. - Eric