Re: [PATCH v9 3/7] crypto: move curve_id of ECDH from the key to algorithm name

2021-02-24 Thread yumeng
在 2021/2/24 18:15, tudor.amba...@microchip.com 写道: On 2/24/21 3:29 AM, yumeng wrote: EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe 在 2021/2/23 18:44, tudor.amba...@microchip.com 写道: Hi, On 2/23/21 9:10 AM, Meng Yu wrote: --- a/drivers/crypto/a

Re: [PATCH v9 3/7] crypto: move curve_id of ECDH from the key to algorithm name

2021-02-24 Thread Tudor.Ambarus
On 2/24/21 3:29 AM, yumeng wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > 在 2021/2/23 18:44, tudor.amba...@microchip.com 写道: >> Hi, >> >> On 2/23/21 9:10 AM, Meng Yu wrote: >>> --- a/drivers/crypto/atmel-ecc.c >>> +++ b/drivers/crypto/atm

Re: [PATCH v9 3/7] crypto: move curve_id of ECDH from the key to algorithm name

2021-02-23 Thread yumeng
在 2021/2/23 18:44, tudor.amba...@microchip.com 写道: Hi, On 2/23/21 9:10 AM, Meng Yu wrote: --- a/drivers/crypto/atmel-ecc.c +++ b/drivers/crypto/atmel-ecc.c @@ -104,7 +104,7 @@ static int atmel_ecdh_set_secret(struct crypto_kpp *tfm, const void *buf, return -EINVAL;

Re: [PATCH v9 3/7] crypto: move curve_id of ECDH from the key to algorithm name

2021-02-23 Thread yumeng
在 2021/2/23 18:44, tudor.amba...@microchip.com 写道: Hi, On 2/23/21 9:10 AM, Meng Yu wrote: --- a/drivers/crypto/atmel-ecc.c +++ b/drivers/crypto/atmel-ecc.c @@ -104,7 +104,7 @@ static int atmel_ecdh_set_secret(struct crypto_kpp *tfm, const void *buf, return -EINVAL;

Re: [PATCH v9 3/7] crypto: move curve_id of ECDH from the key to algorithm name

2021-02-23 Thread Tudor.Ambarus
Hi, On 2/23/21 9:10 AM, Meng Yu wrote: > --- a/drivers/crypto/atmel-ecc.c > +++ b/drivers/crypto/atmel-ecc.c > @@ -104,7 +104,7 @@ static int atmel_ecdh_set_secret(struct crypto_kpp *tfm, > const void *buf, > return -EINVAL; > } > > - ctx->n_sz = atmel_ecdh_supporte