mbox series

[v3,0/4] crypto: ecdh - register NIST P384

Message ID 1621651471-42010-1-git-send-email-tanghui20@huawei.com
Headers show
Series crypto: ecdh - register NIST P384 | expand

Message

Hui Tang May 22, 2021, 2:44 a.m. UTC
Register NIST P384 tfm and extend the testmgr with NIST P384 test vectors.

Summary of changes:

* crypto/ecdh.c
  - fix 'ecdh_init' not unregistering NIST P192
  - add ecdh_nist_p384_init_tfm
  - register and unregister P384 tfm

* crypto/testmgr.c
  - add test vector for P384 on vector of tests

* crypto/testmgr.h
  - add test vector params for P384

---
v1 -> v2:
* Add patch#1:
  - Fix ecdh-nist-p192's entry in testmgr.
  - Add a comment for registering ecdh-nist-p192.

v2 - > v3:
* Fix patch#1 subject format.
---

Hui Tang (4):
  crypto: ecdh - fix ecdh-nist-p192's entry in testmgr
  crypto: ecdh - fix 'ecdh_init'
  crypto: ecdh - register NIST P384 tfm
  crypto: ecdh - add test suite for NIST P384

 crypto/ecdh.c    | 45 +++++++++++++++++++++++++++++++++++++++-
 crypto/testmgr.c | 10 ++++++---
 crypto/testmgr.h | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 3 files changed, 112 insertions(+), 6 deletions(-)

--
2.8.1

Comments

Herbert Xu May 28, 2021, 7:28 a.m. UTC | #1
On Sat, May 22, 2021 at 10:44:27AM +0800, Hui Tang wrote:
> Register NIST P384 tfm and extend the testmgr with NIST P384 test vectors.

> 

> Summary of changes:

> 

> * crypto/ecdh.c

>   - fix 'ecdh_init' not unregistering NIST P192

>   - add ecdh_nist_p384_init_tfm

>   - register and unregister P384 tfm

> 

> * crypto/testmgr.c

>   - add test vector for P384 on vector of tests

> 

> * crypto/testmgr.h

>   - add test vector params for P384

> 

> ---

> v1 -> v2:

> * Add patch#1:

>   - Fix ecdh-nist-p192's entry in testmgr.

>   - Add a comment for registering ecdh-nist-p192.

> 

> v2 - > v3:

> * Fix patch#1 subject format.

> ---

> 

> Hui Tang (4):

>   crypto: ecdh - fix ecdh-nist-p192's entry in testmgr

>   crypto: ecdh - fix 'ecdh_init'

>   crypto: ecdh - register NIST P384 tfm

>   crypto: ecdh - add test suite for NIST P384

> 

>  crypto/ecdh.c    | 45 +++++++++++++++++++++++++++++++++++++++-

>  crypto/testmgr.c | 10 ++++++---

>  crypto/testmgr.h | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--

>  3 files changed, 112 insertions(+), 6 deletions(-)


All applied.  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