Message ID | 1612777137-51067-1-git-send-email-yumeng18@huawei.com |
---|---|
Headers | show |
Series | add ECDH and CURVE25519 algorithms support for Kunpeng 930 | expand |
On Mon, Feb 08, 2021 at 05:38:51PM +0800, Meng Yu wrote: > As curve id of ECDH will be moved from its key into algorithm name, > we cannot use 'curve_id' in 'struct ecdh', so we should modify ECDH > driver in atmel, and make ECDH algorithm name be the same as crypto > (like 'ecdh-nist-pxxx'); > > Signed-off-by: Meng Yu <yumeng18@huawei.com> > Reviewed-by: Zaibo Xu <xuzaibo@huawei.com> > --- > drivers/crypto/atmel-ecc.c | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) Patches 3-5 need to be squashed into one in order to avoid future bisection failures. The alternative is to let the new/old names coexist but it's probably not worth it for this case as the number of drivers impacted is small. Thanks, -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
在 2021/2/10 12:56, Herbert Xu 写道: > On Mon, Feb 08, 2021 at 05:38:51PM +0800, Meng Yu wrote: >> As curve id of ECDH will be moved from its key into algorithm name, >> we cannot use 'curve_id' in 'struct ecdh', so we should modify ECDH >> driver in atmel, and make ECDH algorithm name be the same as crypto >> (like 'ecdh-nist-pxxx'); >> >> Signed-off-by: Meng Yu <yumeng18@huawei.com> >> Reviewed-by: Zaibo Xu <xuzaibo@huawei.com> >> --- >> drivers/crypto/atmel-ecc.c | 14 +++++++------- >> 1 file changed, 7 insertions(+), 7 deletions(-) > > Patches 3-5 need to be squashed into one in order to avoid future > bisection failures. > > The alternative is to let the new/old names coexist but it's probably > not worth it for this case as the number of drivers impacted is small. > > Thanks, > OK, thanks.