Skip to content

Commit 261d002

Browse files
gordonklauscarlescufi
authored andcommitted
Bluetooth: controller: Remove ECDH implementation
These operations are now implemented by the PSA API. Signed-off-by: Gordon Klaus <[email protected]>
1 parent bd939c7 commit 261d002

File tree

9 files changed

+2
-452
lines changed

9 files changed

+2
-452
lines changed

doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ Bluetooth® LE
190190
* An issue where a flash operation executed on the system workqueue might result in ``-ETIMEDOUT``, if there is an active Bluetooth LE connection.
191191
* An issue where Bluetooth applications built with the ``nordic-bt-rpc`` snippet (in the :ref:`ble_rpc` configuration) did not work on the nRF54H20 devices due to incorrect memory mapping.
192192

193+
* Removed the HCI_LE_Read_Local_P-256_Public_Key and HCI_LE_Generate_DHKey commands emulation from HCI driver.
194+
193195
Bluetooth Mesh
194196
--------------
195197

samples/nrf_rpc/protocols_serialization/server/Kconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ endif # LOG
6060

6161
if SOC_NRF54L15
6262

63-
config BT_CTLR_ECDH
64-
default n
65-
6663
config BT_LONG_WQ_STACK_SIZE
6764
default 2048
6865

samples/suit/recovery/sysbuild/hci_ipc.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ CONFIG_BT_CTLR_CRYPTO=n
4848
CONFIG_ENTROPY_GENERATOR=y
4949

5050
CONFIG_BT_CTLR_LE_ENC=n
51-
CONFIG_BT_CTLR_ECDH=n
5251
CONFIG_BT_CTLR_EXT_REJ_IND=n
5352
CONFIG_BT_CTLR_CONN_RSSI=n
5453
CONFIG_BT_CTLR_FILTER_ACCEPT_LIST=n

subsys/bluetooth/controller/CMakeLists.txt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,11 @@ zephyr_library_sources_ifdef(
1717
crypto.c
1818
)
1919

20-
zephyr_library_sources_ifdef(
21-
CONFIG_BT_CTLR_ECDH
22-
ecdh.c
23-
)
24-
2520
zephyr_library_sources_ifdef(
2621
CONFIG_BT_CTLR_SDC_CS_MULTIPLE_ANTENNA_SUPPORT
2722
cs_antenna_switch.c
2823
)
2924

30-
zephyr_library_link_libraries_ifdef(
31-
CONFIG_BT_CTLR_ECDH_LIB_OBERON
32-
nrfxlib_crypto
33-
)
34-
3525
zephyr_library_link_libraries(subsys__bluetooth)
3626

3727
zephyr_include_directories(.)

subsys/bluetooth/controller/Kconfig

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -361,40 +361,6 @@ config BT_CTLR_FAL_SIZE
361361
help
362362
Size of the Filter Accept List.
363363

364-
if BT_CTLR_ECDH
365-
choice BT_CTLR_ECDH_LIB
366-
prompt "SoftDevice Controller ECDH library"
367-
368-
config BT_CTLR_ECDH_LIB_OBERON
369-
select NRF_OBERON
370-
depends on !SOC_SERIES_BSIM_NRFXX
371-
bool "nRF Oberon (SW)"
372-
373-
config BT_CTLR_ECDH_LIB_TINYCRYPT
374-
select TINYCRYPT
375-
select TINYCRYPT_ECC_DH
376-
bool "Tinycrypt"
377-
378-
endchoice
379-
380-
config BT_CTLR_ECDH_STACK_SIZE
381-
int
382-
default 900 if BT_CTLR_ECDH_LIB_OBERON
383-
default 1200 if BT_CTLR_ECDH_LIB_TINYCRYPT
384-
help
385-
Size of the ECDH processing thread stack.
386-
387-
config BT_CTLR_ECDH_IN_MPSL_WORK
388-
bool "ECDH processing in MPSL workqueue"
389-
depends on BT_CTLR_ECDH_LIB_OBERON
390-
default y if !BT_SMP
391-
help
392-
Run the ECDH processing in the MPSL workqueue instead of in a
393-
dedicated pre-emptible thread.
394-
This saves RAM at the cost of delaying MPSL work.
395-
396-
endif # BT_CTLR_ECDH
397-
398364
config BT_CTLR_SDC_EVENT_TRIGGER
399365
bool "Event Trigger"
400366
help

0 commit comments

Comments
 (0)