Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp443765ybm; Fri, 29 May 2020 04:07:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWrrN2D8uXHGFT9JditLYDpZ5pj+RUuK7yOTVfCK18Xx+2izeAULUgkGX/GG1WtvvUbnA8 X-Received: by 2002:a17:906:9516:: with SMTP id u22mr6858549ejx.115.1590750478979; Fri, 29 May 2020 04:07:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590750478; cv=none; d=google.com; s=arc-20160816; b=oYjae9WI0pz5R3rEDV8Ijat4GHlBx8+tbITqjD85sfV4ETaIxtNNdrpmqhjcgC6JJY q+LIgx4y08xgD7DH7fhHBgna6/rNXLf5aF/iW92+BiHLlGEzMFOTEoFrhglRHGlJPTCD 7uc8bLqab5Zs/lvJ1PGiRcka5dmFQmy3c/aP7ytYBTVD5SjCp7shJ6luboqVpyyUCU79 jHQ1bUFZhFZe6ALvSjQHpkrRkXpgY8glBM9lUHxEkp8t1HitYVs1i75APcU+bYfj6HPG PoFCaeWCSRX1XifzmAW96p1/qnSP4ibI2gRxNwPWiQ7271GQACh0kkP8dPJEwTJmdhNC GL7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=9uJtvtt9sH9/Uuu95gjzZigkoHsXspEBpwEdkyT/ljY=; b=n2K3WZ0yhYMXBzKtmqlafRy4V7iSKS6FwRUI0vZn8i6dm2ZzOluwQNoYKHYzAwPrCn A9d9rpTEIPDrj0z17bvYyOEYuHv3WjOMFyz1bOrzQY+3bYxER6zpNRI8Mu0rVYVKII62 AYrtOn+Z2b1ONR1HouGS5GbH0ZGMDVz2ZANltu/mCgnIdtjlApOUS2Oo/XawnxbUfHhf NPeC1Tl58nz4T69mhxh/rIXlBblNIW24zSdEpdchQr1GDt8FFiV3My5nz1BD8TWNl8Iv x+iYe+idr4mtCMIOKSMzwpY3nGMA9GWB8xK5mXBead+7KmTvdFi0/1Bt/za9TN3ztVvw 8Y9Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l10si5259416ejb.576.2020.05.29.04.07.35; Fri, 29 May 2020 04:07:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726793AbgE2LEz (ORCPT + 99 others); Fri, 29 May 2020 07:04:55 -0400 Received: from out30-44.freemail.mail.aliyun.com ([115.124.30.44]:42789 "EHLO out30-44.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725562AbgE2LEy (ORCPT ); Fri, 29 May 2020 07:04:54 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R141e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e07488;MF=tianjia.zhang@linux.alibaba.com;NM=1;PH=DS;RN=16;SR=0;TI=SMTPD_---0Tzz9qwA_1590750289; Received: from 30.27.118.64(mailfrom:tianjia.zhang@linux.alibaba.com fp:SMTPD_---0Tzz9qwA_1590750289) by smtp.aliyun-inc.com(127.0.0.1); Fri, 29 May 2020 19:04:50 +0800 Subject: Re: [PATCH v2 0/7] crpyto: introduce OSCCA certificate and SM2 asymmetric algorithm To: Herbert Xu Cc: davem@davemloft.net, ebiggers@kernel.org, ebiggers@google.com, pvanleeuwen@rambus.com, zohar@linux.ibm.com, gilad@benyossef.com, jarkko.sakkinen@linux.intel.com, dmitry.kasatkin@intel.com, nicstange@gmail.com, tadeusz.struk@intel.com, jmorris@namei.org, serge@hallyn.com, zhang.jia@linux.alibaba.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200402123504.84628-1-tianjia.zhang@linux.alibaba.com> <20200416060136.GA19149@gondor.apana.org.au> From: Tianjia Zhang Message-ID: Date: Fri, 29 May 2020 19:04:48 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: <20200416060136.GA19149@gondor.apana.org.au> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/4/16 14:01, Herbert Xu wrote: > On Thu, Apr 02, 2020 at 08:34:57PM +0800, Tianjia Zhang wrote: >> Hello all, >> >> This new module implement the OSCCA certificate and SM2 public key >> algorithm. It was published by State Encryption Management Bureau, China. >> List of specifications for OSCCA certificate and SM2 elliptic curve >> public key cryptography: >> >> * GM/T 0003.1-2012 >> * GM/T 0003.2-2012 >> * GM/T 0003.3-2012 >> * GM/T 0003.4-2012 >> * GM/T 0003.5-2012 >> * GM/T 0015-2012 >> * GM/T 0009-2012 >> >> IETF: https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02 >> oscca: http://www.oscca.gov.cn/sca/xxgk/2010-12/17/content_1002386.shtml >> scctc: http://www.gmbz.org.cn/main/bzlb.html >> >> These patchs add the OID object identifier defined by OSCCA. The >> x509 certificate supports sm2-with-sm3 type certificate parsing >> and verification. > > I don't have any objections to the crypto API bits, but obviously > this is contingent on the x509 bits getting accepted since that's > the only in-kernel user. So can I see some acks on that please? > > Thanks, > Hi Herbert, Any opinion on this series patches? Do I need to provide additional information ? Thanks and best, Tianjia