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>
Showing
- crypto/ecdh.c 50 additions, 22 deletionscrypto/ecdh.c
- crypto/ecdh_helper.c 1 addition, 3 deletionscrypto/ecdh_helper.c
- crypto/testmgr.c 11 additions, 2 deletionscrypto/testmgr.c
- crypto/testmgr.h 15 additions, 19 deletionscrypto/testmgr.h
- drivers/crypto/atmel-ecc.c 8 additions, 20 deletionsdrivers/crypto/atmel-ecc.c
- include/crypto/ecdh.h 0 additions, 2 deletionsinclude/crypto/ecdh.h
- net/bluetooth/ecdh_helper.c 0 additions, 2 deletionsnet/bluetooth/ecdh_helper.c
- net/bluetooth/selftest.c 1 addition, 1 deletionnet/bluetooth/selftest.c
- net/bluetooth/smp.c 3 additions, 3 deletionsnet/bluetooth/smp.c
Please register or sign in to comment