2021-05-22 02:50:35

by Hui Tang

[permalink] [raw]
Subject: [PATCH v3 0/4] crypto: ecdh - register NIST P384

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


2021-05-28 07:46:04

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH v3 0/4] crypto: ecdh - register NIST P384

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 <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt