]> granicus.if.org Git - esp-idf/commit
component/bt: Fixed the vulnerability released by Bluetooth org when using public...
authoryulong <huangyulong@espressif.com>
Sun, 5 Aug 2018 13:18:31 +0000 (21:18 +0800)
committeryulong <huangyulong@espressif.com>
Mon, 13 Aug 2018 06:08:11 +0000 (14:08 +0800)
commit72eaaff9fe93cca6751778d667a57e46845f86c2
tree68915dc56e60d46b220b4a74028be51ab2539e6c
parent230d9adb8ada72b19da1af4c22e27957965fd16e
component/bt: Fixed the vulnerability released by Bluetooth org when using public key not check in the process of ECDH encryption.

1. Add the 100 times test when the private key is generated by the random number;
2. Add the bt components to the unit-test-app/config directory.
3. Added the bt unit test case to CI.
12 files changed:
.gitlab-ci.yml
components/bt/bluedroid/stack/smp/include/p_256_ecc_pp.h
components/bt/bluedroid/stack/smp/p_256_ecc_pp.c
components/bt/bluedroid/stack/smp/smp_act.c
components/bt/test/component.mk [new file with mode: 0644]
components/bt/test/test_smp.c [new file with mode: 0644]
tools/unit-test-app/configs/bt [new file with mode: 0644]
tools/unit-test-app/configs/default
tools/unit-test-app/configs/libsodium
tools/unit-test-app/configs/psram
tools/unit-test-app/configs/release
tools/unit-test-app/configs/single_core