-
CONFIG_BT_TINYCRYPT_ECC
¶
Use TinyCrypt library for ECDH
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).
Direct dependencies¶
BT_ECC
&& (BT_HCI_RAW
|| BT_HCI_HOST
) && BT_HCI
&& BT
(Includes any dependencies from if’s and menus.)
Defaults¶
- “y” if
BT_CTLR
&&BT_ECC
&& (BT_HCI_RAW
||BT_HCI_HOST
) &&BT_HCI
&&BT
Symbols selected by this symbol¶
TINYCRYPT
ifBT_ECC
&& (BT_HCI_RAW
||BT_HCI_HOST
) &&BT_HCI
&&BT
TINYCRYPT_ECC_DH
ifBT_ECC
&& (BT_HCI_RAW
||BT_HCI_HOST
) &&BT_HCI
&&BT
Kconfig definition¶
At subsys/bluetooth/host/Kconfig:548
Included via Kconfig:10
→ Kconfig.zephyr:39
→ subsys/Kconfig:8
→ subsys/bluetooth/Kconfig:144
Menu path: (top menu) → Bluetooth
config BT_TINYCRYPT_ECC bool prompt "Use TinyCrypt library for ECDH" ifBT_ECC
&& (BT_HCI_RAW
||BT_HCI_HOST
) &&BT_HCI
&&BT
default "y" ifBT_CTLR
&&BT_ECC
&& (BT_HCI_RAW
||BT_HCI_HOST
) &&BT_HCI
&&BT
selectTINYCRYPT
ifBT_ECC
&& (BT_HCI_RAW
||BT_HCI_HOST
) &&BT_HCI
&&BT
selectTINYCRYPT_ECC_DH
ifBT_ECC
&& (BT_HCI_RAW
||BT_HCI_HOST
) &&BT_HCI
&&BT
depends onBT_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).
(Definitions include propagated dependencies, including from if’s and menus.)