Re: [PATCH v10 0/7] add ECDH and CURVE25519 algorithms support for Kunpeng 930

2021-03-12 Thread Herbert Xu
On Thu, Mar 04, 2021 at 02:35:43PM +0800, Meng Yu wrote: > 1. Move curve ID from the key into the algorithm name (like 'ecdh-nist-pxxx' >so we get its tfm like 'crypto_alloc_kpp("ecdh-nist-p256", 0, 0)'), >in 'crypto/ecc.c' (has been verified by testmgr) and 'crypto/atmel-ecc.c' >(only

[PATCH v10 0/7] add ECDH and CURVE25519 algorithms support for Kunpeng 930

2021-03-03 Thread Meng Yu
1. Move curve ID from the key into the algorithm name (like 'ecdh-nist-pxxx' so we get its tfm like 'crypto_alloc_kpp("ecdh-nist-p256", 0, 0)'), in 'crypto/ecc.c' (has been verified by testmgr) and 'crypto/atmel-ecc.c' (only compiled, not do test), and modify 'testmgr.c' and 'net/bluetoo