Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7677014pxb; Thu, 18 Feb 2021 17:26:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJwfl3ZSXYBFb1vmVkNhGWQeQeNDvCUojqnjCLDECX2GfQS4hGwpgl2c1txqm0eSyMoni1vd X-Received: by 2002:a50:d987:: with SMTP id w7mr6752806edj.350.1613698004951; Thu, 18 Feb 2021 17:26:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613698004; cv=none; d=google.com; s=arc-20160816; b=NzS4L1FeWtrEnln3IR+J4GYHsyvexCIjeoeb21oW8yF1CBBmbEGImaEBkYTsLaNAWS GEeVbXsP1lhbhmA2Ere/OrWG861C8NIt/yryz/N0T2uP1dSwnmJcvlcAYmsbMOAMzlgk 4QgQP/t6f/zdR4Q2kqvb2J9Wsq/L6CTYjpSBe1TD0bMiw/yLeANuUXR5JwUlvYsPOuHS 9ihMHwE2q685QVcdP5qhRsF96b7wGuqwL/8/Hv5FuL/Y+qjLHy0Xv8uVVg39SFLEK5Qg SEwo+cEumtDf/wh1ENHKJ87AwLKcctQz3DUi0YBW6VePRLGAbiUGW5IBqwU1e2E88PaI ZcNQ== 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 :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=3YhmE92yF89EpFBdapAh4ZVcz7KwwYJdSPYiqanzeiQ=; b=Iri1Y6XgOFYwOsXjEotF/8ygCOjK8YORUM9SxaUXYXGGjmCKr9io6IYDsDS8s6eIJH +jCZ38euPCbyhcEKMBXkmb0RjgW8MkYogErIfwSZaMI2tdKrO0ltaKgXRxLkVFcFBasm Gc0USG1dpaURf7LV3RVd1+wpF8Br3ifm9Gwh2RkOhG9FiJOFxhhyyYgwJEBNRwNMM5xb Cr3rUljoRAZRO10BhDEVkMOEb71j4uAqupqGL5wmEhWSksYAlXO9diKaV420UPuk2Txy Ibuoad7giqcHL2JQZWXaNQinusHfiGMT+jZyKZJbEHUVu9zX91nWKWbSpKPGv+6v3MwX 5v2Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bx22si3849591edb.290.2021.02.18.17.26.07; Thu, 18 Feb 2021 17:26:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-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-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229480AbhBSB0G (ORCPT + 99 others); Thu, 18 Feb 2021 20:26:06 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:12558 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbhBSB0G (ORCPT ); Thu, 18 Feb 2021 20:26:06 -0500 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4DhYk80WCdzMbXD; Fri, 19 Feb 2021 09:23:28 +0800 (CST) Received: from [10.67.103.10] (10.67.103.10) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.498.0; Fri, 19 Feb 2021 09:25:13 +0800 Subject: Re: [PATCH v8 7/9] crypto: hisilicon/hpre - add 'ECDH' algorithm To: Herbert Xu CC: , , , , , , , , References: <1612777137-51067-1-git-send-email-yumeng18@huawei.com> <1612777137-51067-8-git-send-email-yumeng18@huawei.com> <20210210045756.GB7510@gondor.apana.org.au> <20210218200121.GA932@gondor.apana.org.au> From: yumeng Message-ID: <5e1264cf-30ae-cbbd-21bc-90b09b8aa8f2@huawei.com> Date: Fri, 19 Feb 2021 09:25:13 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <20210218200121.GA932@gondor.apana.org.au> Content-Type: text/plain; charset="gbk"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.103.10] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org ?? 2021/2/19 4:01, Herbert Xu ะด??: > On Thu, Feb 18, 2021 at 10:24:40AM +0800, yumeng wrote: >> >> Ecdh-nist-p384 is supported by HPRE now, currently there is no patch of >> the generic ecdh-nist-p384. > > In that case please leave it out until there is: > > 1) An in-kernel user of p384. > 2) There is a generic implementation. > > Thanks, > OK, I will, thanks. And p224 and p521 are the same as p384 (has no user and no generic implementation), so they should be supported by HPRE later, is it? thanks.