CONFIG_BT_TINYCRYPT_ECC

Emulate ECDH in the Host using TinyCrypt library

Emulate ECDH in the Host using TinyCrypt library

Type: bool

Help

If this option is set TinyCrypt library is used for emulating the
ECDH HCI commands and events needed by e.g. LE Secure Connections.
In builds including the BLE Host, if not set the controller crypto is
used for ECDH and if the controller doesn't support the required HCI
commands the LE Secure Connections support will be disabled.
In builds including the HCI Raw interface and the BLE Controller, this
option injects support for the 2 HCI commands required for LE Secure
Connections so that Hosts can make use of those. The option defaults
to enabled for a combined build with Zephyr's own controller, since it
does not have any special ECC support itself (at least not currently).

Help

If this option is set TinyCrypt library is used for emulating the
ECDH HCI commands and events needed by e.g. LE Secure Connections.
In builds including the BLE Host, if not set the controller crypto is
used for ECDH and if the controller doesn't support the required HCI
commands the LE Secure Connections support will be disabled.
In builds including the HCI Raw interface and the BLE Controller, this
option injects support for the 2 HCI commands required for LE Secure
Connections so that Hosts can make use of those. The option defaults
to enabled for a combined build with Zephyr's own controller, since it
does not have any special ECC support itself (at least not currently).

Direct dependencies

(BT_ECC && (BT_HCI_RAW || BT_HCI_HOST) && BT_RPC_STACK) || (BT_ECC && (BT_HCI_RAW || BT_HCI_HOST) && BT_HCI && BT)

(Includes any dependencies from ifs and menus.)

Defaults

Symbols selected by this symbol

Kconfig definitions

At <Zephyr>/subsys/bluetooth/host/Kconfig:588

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:81<nRF>/subsys/Kconfig:10<nRF>/subsys/bluetooth/Kconfig:38<nRF>/subsys/bluetooth/rpc/Kconfig:196

Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → Bluetooth Low Energy → BLE over nRF RPC → Enable ECDH key generation support

config BT_TINYCRYPT_ECC
    bool "Emulate ECDH in the Host using TinyCrypt library"
    default y if BT_CTLR && !BT_CTLR_ECDH
    select TINYCRYPT
    select TINYCRYPT_ECC_DH
    depends on BT_ECC && (BT_HCI_RAW || BT_HCI_HOST) && BT_RPC_STACK
    help
      If this option is set TinyCrypt library is used for emulating the
      ECDH HCI commands and events needed by e.g. LE Secure Connections.
      In builds including the BLE Host, if not set the controller crypto is
      used for ECDH and if the controller doesn't support the required HCI
      commands the LE Secure Connections support will be disabled.
      In builds including the HCI Raw interface and the BLE Controller, this
      option injects support for the 2 HCI commands required for LE Secure
      Connections so that Hosts can make use of those. The option defaults
      to enabled for a combined build with Zephyr's own controller, since it
      does not have any special ECC support itself (at least not currently).

At <Zephyr>/subsys/bluetooth/host/Kconfig:588

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:9<Zephyr>/subsys/bluetooth/Kconfig:174

Menu path: (Top) → Sub Systems and OS Services → Bluetooth → Enable ECDH key generation support

config BT_TINYCRYPT_ECC
    bool "Emulate ECDH in the Host using TinyCrypt library"
    default y if BT_CTLR && !BT_CTLR_ECDH
    select TINYCRYPT
    select TINYCRYPT_ECC_DH
    depends on BT_ECC && (BT_HCI_RAW || BT_HCI_HOST) && BT_HCI && BT
    help
      If this option is set TinyCrypt library is used for emulating the
      ECDH HCI commands and events needed by e.g. LE Secure Connections.
      In builds including the BLE Host, if not set the controller crypto is
      used for ECDH and if the controller doesn't support the required HCI
      commands the LE Secure Connections support will be disabled.
      In builds including the HCI Raw interface and the BLE Controller, this
      option injects support for the 2 HCI commands required for LE Secure
      Connections so that Hosts can make use of those. The option defaults
      to enabled for a combined build with Zephyr's own controller, since it
      does not have any special ECC support itself (at least not currently).

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)