Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp756069rdg; Thu, 10 Aug 2023 20:31:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IESwJd8L1x/pusefgAjeUHMA64olz7On4GR53T/KTDD/xq+iX7BvhJegj4YlG3WhWey/pZ9 X-Received: by 2002:a54:4717:0:b0:3a7:48eb:2de2 with SMTP id k23-20020a544717000000b003a748eb2de2mr855461oik.26.1691724695686; Thu, 10 Aug 2023 20:31:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691724695; cv=none; d=google.com; s=arc-20160816; b=I/RKkhKeexe4vMrDaMqkmAoHV/wTmEeT7XDezxIJRqOto6xyaxKcdo18gKlLjzJKsd 1emRB/26VxG93nhnDulnhJQv4TPTWN0Fo6Qy8SGxKV6SheKASHKAc+vr5eDMaoERPOS0 65tuYnX/hFemU/7u2QADGCTUyWarWf9TQEZn9wUPqc4u41e6UrtnwTjOmTiqJNyONis1 oOD5IyOd8/aBj1WgkkRJ32QLBcUVAVl2HEPTgCA5OnYrnJchWKZHv6jOqDSQTlpTkU7P zdlTqAR4GeB/sQFgKDohnbldt11b9bymEeGyE9hmVzGDWWg5pjjemUd+SDZImzCdrOOT qOmw== 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; bh=oDlIajIiQEuQTiaRfeIjEDfibvRJhSHO5N4fc+7d7eU=; fh=HzVy8W0O++sceY73sfb8qCwu1ue7H4vx/0SngWEKYJs=; b=Qt1X7i3Efi3OlhHX619HrclXOA1nuQxLGHUTFGvsVgPfwOFO1HNjj42qs1v8FG56ll 9a7d/mY4gBuphxZLoXKy/IqJzCG5O4sFa3utSoEmVqhDJlbF9W5RTGrRU2fG+G3cbrYZ 2xP1c9GevlqAFuFkSh7rsDOe6EbfXtstHjO6U+0y9dD+nFrwwZ7z5/P54Et4q6a3nn66 IjiPpkQb0+P16Po7zAfznjbFEakiptIRi9SQul5EUkvMf7YJa5giVDFKD/6IugpZrR6y J8D8At/IFbvDTwRpAhw07bH1+PN+hSvFxWxeTBPzOraVR041SOBAY/BepRNX250Xx7Nj cHmA== 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l21-20020a656815000000b00563e747d75asi2781722pgt.734.2023.08.10.20.31.13; Thu, 10 Aug 2023 20:31:35 -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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231338AbjHKDZb (ORCPT + 99 others); Thu, 10 Aug 2023 23:25:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231645AbjHKDZa (ORCPT ); Thu, 10 Aug 2023 23:25:30 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FBAE2D66 for ; Thu, 10 Aug 2023 20:25:29 -0700 (PDT) Received: from dggpemm500024.china.huawei.com (unknown [172.30.72.55]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4RMTcq4L4FzqSdR; Fri, 11 Aug 2023 11:22:35 +0800 (CST) Received: from [10.67.110.173] (10.67.110.173) by dggpemm500024.china.huawei.com (7.185.36.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Fri, 11 Aug 2023 11:25:27 +0800 Message-ID: <1bcf580b-3a19-c0aa-b3cb-1f9f183b61e4@huawei.com> Date: Fri, 11 Aug 2023 11:25:27 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RFC v3 3/3] crypto: Introduce SM9 key exchange algorithm Content-Language: en-US To: Herbert Xu CC: , References: <20230625014958.32631-1-guozihua@huawei.com> <20230625014958.32631-4-guozihua@huawei.com> From: "Guozihua (Scott)" In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.110.173] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpemm500024.china.huawei.com (7.185.36.203) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,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 On 2023/7/14 15:53, Herbert Xu wrote: > On Sun, Jun 25, 2023 at 09:49:58AM +0800, GUO Zihua wrote: >> This patch introduces a generic implementation of SM9 (ShangMi 9) key >> exchange algorithm. >> >> SM9 is an ID-based cryptography algorithm within the ShangMi family whose >> key exchange algorithm was accepted in ISO/IEC 11770-3 as an >> international standard. > > For each new algorithm we require an in-kernel user. Where is the > in-kernel user for this? > > Thanks, Hi Herbert, Unfortunately we don't have such usage right now and we are researching into it. Just while we are here, do you think it's a good idea to also introduce a new crypto algorithm type for IBCs to better support their functionality if there are usage within kernel and we are to port this algorithm in? -- Best GUO Zihua