[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f319d30d-4bd5-a8de-bd0a-bde9e6838ed1@huawei.com>
Date: Mon, 1 Feb 2021 11:45:16 +0800
From: yumeng <yumeng18@...wei.com>
To: Herbert Xu <herbert@...dor.apana.org.au>
CC: <davem@...emloft.net>, <linux-crypto@...r.kernel.org>,
<xuzaibo@...wei.com>, <wangzhou1@...ilicon.com>,
<linux-kernel@...r.kernel.org>, Ard Biesheuvel <ardb@...nel.org>,
"Daniele Alessandrelli" <daniele.alessandrelli@...ux.intel.com>,
Mark Gross <mgross@...ux.intel.com>,
"Khurana, Prabhjot" <prabhjot.khurana@...el.com>,
"Reshetova, Elena" <elena.reshetova@...el.com>
Subject: Re: [PATCH v7 4/7] crypto: add ecc curve and expose them
在 2021/1/28 13:03, Herbert Xu 写道:
> On Fri, Jan 22, 2021 at 03:09:52PM +0800, Meng Yu wrote:
>> 1. Add ecc curves(P224, P384, P521) for ECDH;
>
> OK I think this is getting unwieldy.
>
> In light of the fact that we already have hardware that supports
> a specific subset of curves, I think perhaps it would be better
> to move the curve ID from the key into the algorithm name instead.
>
> IOW, instead of allocating ecdh, you would allocate ecdh-nist-pXXX.
>
> Any comments?
>
> Thanks,
>
Yes,It is a good idea, thank you!
Powered by blists - more mailing lists