Skip to content

Commit

Permalink
bluetooth: Remove references to BT_TINYCRYPT_ECC
Browse files Browse the repository at this point in the history
This Kconfig option was renamed to BT_SEND_ECC_EMULATION and then
finally removed. See Zephyr PR 84268.

Signed-off-by: Andrzej Głąbek <[email protected]>
  • Loading branch information
anangl committed Jan 22, 2025
1 parent dceefcb commit 32b1904
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ CONFIG_GPIO=y
CONFIG_MAIN_STACK_SIZE=1024
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512
CONFIG_BT_MAX_CONN=16
CONFIG_BT_TINYCRYPT_ECC=n
CONFIG_BT_CTLR_DTM_HCI=y
CONFIG_BT_CTLR_ASSERT_HANDLER=y

Expand Down
1 change: 0 additions & 1 deletion samples/bluetooth/hci_lpuart/boards/thingy91_nrf52840.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ CONFIG_MAIN_STACK_SIZE=1024
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512
CONFIG_BT_WAIT_NOP=y
CONFIG_BT_MAX_CONN=16
CONFIG_BT_TINYCRYPT_ECC=n
CONFIG_BT_CTLR_DTM_HCI=y
CONFIG_BT_CTLR_ASSERT_HANDLER=y

Expand Down
1 change: 0 additions & 1 deletion subsys/bluetooth/Kconfig.discovery
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ config BT_GATT_DM_WORKQ_STACK_SIZE
# requirements.
int
default 1300 if BT_GATT_CACHING
default 1140 if BT_TINYCRYPT_ECC
default 1024

config BT_GATT_DM_WORKQ_PRIO
Expand Down
2 changes: 1 addition & 1 deletion subsys/bluetooth/controller/hci_internal.c
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ void hci_internal_supported_commands(sdc_hci_ip_supported_commands_t *cmds)
cmds->hci_le_request_peer_sca = 1;
#endif

#if (defined(CONFIG_BT_HCI_RAW) && defined(CONFIG_BT_TINYCRYPT_ECC)) || defined(CONFIG_BT_CTLR_ECDH)
#if defined(CONFIG_BT_CTLR_ECDH)
cmds->hci_le_read_local_p256_public_key = 1;
cmds->hci_le_generate_dhkey_v1 = 1;
cmds->hci_le_generate_dhkey_v2 = 1;
Expand Down
2 changes: 0 additions & 2 deletions tests/bluetooth/bsim/nrf_auraconfig/tester/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ CONFIG_BT_BUF_ACL_TX_SIZE=251

CONFIG_BT_DEVICE_NAME="Broadcast Audio Sink"

CONFIG_BT_TINYCRYPT_ECC=y

# Shell related defines
CONFIG_SHELL=y
CONFIG_SHELL_BACKEND_DUMMY=y
Expand Down
1 change: 0 additions & 1 deletion tests/bluetooth/tester/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ CONFIG_BT_DEVICE_NAME="Tester"
CONFIG_BT_DEVICE_NAME_MAX=32
CONFIG_BT_DEVICE_NAME_DYNAMIC=y
CONFIG_BT_DEVICE_NAME_GATT_WRITABLE=y
CONFIG_BT_TINYCRYPT_ECC=y
CONFIG_BT_TESTING=y

# Mesh Protocol Configs
Expand Down

0 comments on commit 32b1904

Please sign in to comment.