Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp12078829rwd; Fri, 23 Jun 2023 00:43:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5GKrh6Wm48Z8U4Mkwe7S8jHATArUQvKNfRJ8NJ3wCBdQBblLFsnUev/Hflmnv6nHSr3RiK X-Received: by 2002:a92:dacc:0:b0:335:25e7:1897 with SMTP id o12-20020a92dacc000000b0033525e71897mr6474884ilq.32.1687506222860; Fri, 23 Jun 2023 00:43:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687506222; cv=none; d=google.com; s=arc-20160816; b=iEnS+0K4X0nkLlj4/Te2IdK8dx5iw7VoKfK0oGM3wPGjQ3W2Gg3C5bYfvSSejR35R/ M/WBjwyzT6UYaixbUYwICP7l5R+QXAUFv8yYij9tkR+UAMa7NxPBCcjaLe5/7aoSVuOu QSWey3fAP3TBDxfNvnTAI3Gct4Ntdc2VXdqeLQlkitvdCY6VfMDgg7R60pumwXUv3nvR 7V2i2VbcfS3tjDHRIxSrJuOM//fxpTND/H5GD5zI+/7bZsiTZqWjBwoni/+/ADfvpsmi 5gclA8QnVmQTnnm91ICw3hEYImYHTp5KL60wWLB77FbGtp0oKEZ/SSYLVCFAe3mFoy7F J5KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=UXwU7cKW9+BH74BvmKqO2seYUz6o1pUZ371E9yDufNM=; b=ix2z7/xoXzw6sfcxIFvRoLrXX1zKcNJrhdBzz7qCWrRIWEvsvJ38ESz7d0OWiwgFXy MMn4+yoQyxgnZYYjKbdQcgMrIZFFnO1ez7dtXjfhkBfD38/ABmfKfXdsQElRkiEBuhL5 52iFNXwx/1nbgNgDr2FIHHYYb9SeiFM8lsLBjlcMMILYveJyu0RIvacNKTU9BB0Die6K ztSjbURpqmRrNTZid+0ucZZSL49VRTfhMwq1+RNpeEis1Z0n2U1x1J+06w9mSFpa6u3c Xa7iv31coOpj5xQMi+v06SsAiOLmcZYlh6EEZcNDjfEMLReGAnrimygFTAK/gG5ftppT EnCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mRNiPuDx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v3-20020a655c43000000b0053fbe7c8d3dsi7783323pgr.632.2023.06.23.00.43.04; Fri, 23 Jun 2023 00:43:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mRNiPuDx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230171AbjFWHcF (ORCPT + 99 others); Fri, 23 Jun 2023 03:32:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230091AbjFWHcE (ORCPT ); Fri, 23 Jun 2023 03:32:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DEFF1715 for ; Fri, 23 Jun 2023 00:32:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id DF1E461949 for ; Fri, 23 Jun 2023 07:32:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16D72C433C0; Fri, 23 Jun 2023 07:32:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687505522; bh=7bNxX6jl9P5VkfuJDXAmvF2gsSdSXC1sk9jaKpk7E7Q=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=mRNiPuDxmCCq+UOtBx3fXtYpPqCnOx5XbsZ4xWJm36qiRoHKoimMdIAULKWVHyN69 xGrRHwFiHNoZJEigm2Tt7ovlyWW51uE2cZyV+IMp1HMrdu4Kpti8xgsFS/Ax36LQYj MaSM3jZb0mX32bpR5JZtzOf0QxST+iAjzxD0vu7HfXHO/VYDSVlLHMgZGha9WKyxJR iP9Dgwn4oJGRWLBFkFRWfiIRBnE7eoQKg9aPshwPWvY1eTrELkw79MgzygpIg2P6J4 uF5HBp9sBRAKJ9yRvks/PfzZElV2d+ZUYSuschKc+wPCgA03r1sFG5ONLJrjRb1bAk CcxYmgDRxjvxA== Message-ID: Date: Fri, 23 Jun 2023 02:32:00 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 00/12] New Crypto service commands Content-Language: en-US To: "Ang, Tien Sung" Cc: "linux-kernel@vger.kernel.org" References: <20230623032029.1755017-1-tien.sung.ang@intel.com> <239e7171-1d29-0208-ca6c-abc85ccbe0e9@kernel.org> From: Dinh Nguyen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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-kernel@vger.kernel.org On 6/23/23 01:53, Ang, Tien Sung wrote: > > >> -----Original Message----- >> From: Dinh Nguyen >> Sent: Friday, 23 June, 2023 1:37 PM >> To: Ang, Tien Sung >> Cc: linux-kernel@vger.kernel.org >> Subject: Re: [PATCH 00/12] New Crypto service commands >> >> >> >> On 6/22/23 22:20, tien.sung.ang@intel.com wrote: >>> From: Ang Tien Sung >>> >>> hi, >>> This patch set comprises updates to the svc driver to add new crypto >>> services for AES encryption/decryption, SHA2 digest generation, SHA2 >>> MAC verification, ECDSA hash signing, ECDSA SHA2 data signing, ECDSA >>> hash signature verification, ECDSA SHA2 data signature verification >>> crypto key management and lastly ECDSA public key retrieval. >>> The additions of the commands are all standard entries to svc driver >>> with minimal logic. >>> >> >> I guess I'll ask the same question, who's the consumer for these? >> >> > This commands will be used by the future and current > downstream crypto driver that is under redesign. > The svc driver is merely a firmware messenger that is > used to send Mailbox commands to the SDM firmware. > It is essential for us to begin doing this first. Thanks > I think what you're going to find out quickly when you upstream more is that the community will not care about your downstream stuff. The problem I have with this patch is that you're adding code that no-one is using at the moment and with the crypto driver being redesigned, this code may or may not get used, right? Let's focus on the getting the crypto driver first. Dinh