]> granicus.if.org Git - esp-idf/commit
BT/Bluedroid : Add support to set min encryption key requirement
authorPrasad Alatkar <prasad.alatkar@espressif.com>
Wed, 25 Sep 2019 03:56:47 +0000 (11:56 +0800)
committerJiang Jiang Jian <jack@espressif.com>
Wed, 25 Sep 2019 03:56:47 +0000 (11:56 +0800)
commit2c3648b619fe99ba1577ba7a403dd4d8b9f87180
tree50782b22995dbfabbc358ec5ceefaca6ed8500e9
parenta2b65e1649a4507c1ca8b8beae6803caf0c7c496
BT/Bluedroid : Add support to set min encryption key requirement

- Modifies `smp_utils.c` to add check on encryption key size received from
  peer.
- Modifies `esp_ble_gap_set_security_param` API to add minimum encryption key
  size requirement.
components/bt/host/bluedroid/api/include/api/esp_gap_ble_api.h
components/bt/host/bluedroid/bta/dm/bta_dm_co.c
components/bt/host/bluedroid/bta/include/bta/bta_dm_co.h
components/bt/host/bluedroid/btc/profile/std/gap/btc_gap_ble.c
components/bt/host/bluedroid/common/include/common/bte_appl.h
components/bt/host/bluedroid/stack/smp/smp_utils.c