OSDN Git Service

crypto: ecdh - move curve_id of ECDH from the key to algorithm name
authorMeng Yu <yumeng18@huawei.com>
Thu, 4 Mar 2021 06:35:46 +0000 (14:35 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 12 Mar 2021 13:04:03 +0000 (00:04 +1100)
commit6763f5ea2d9ac9b5a34a374ee637b5e4f1f525dd
tree8a86d9ad01182558215fcf97f22f125a7688c74f
parent9b94ae729068f6608ec7364dea891ee86dd3dad2
crypto: ecdh - move curve_id of ECDH from the key to algorithm name

1. crypto and crypto/atmel-ecc:
   Move curve id of ECDH from the key into the algorithm name instead
   in crypto and atmel-ecc, so ECDH algorithm name change form 'ecdh'
   to 'ecdh-nist-pxxx', and we cannot use 'curve_id' in 'struct ecdh';
2. crypto/testmgr and net/bluetooth:
   Modify 'testmgr.c', 'testmgr.h' and 'net/bluetooth' to adapt
   the modification.

Signed-off-by: Meng Yu <yumeng18@huawei.com>
Reviewed-by: Zaibo Xu <xuzaibo@huawei.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ecdh.c
crypto/ecdh_helper.c
crypto/testmgr.c
crypto/testmgr.h
drivers/crypto/atmel-ecc.c
include/crypto/ecdh.h
net/bluetooth/ecdh_helper.c
net/bluetooth/selftest.c
net/bluetooth/smp.c