:orphan: .. title:: BT_TINYCRYPT_ECC .. option:: CONFIG_BT_TINYCRYPT_ECC *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). Direct dependencies =================== \ :option:`BT_ECC ` && (\ :option:`BT_HCI_RAW ` || \ :option:`BT_HCI_HOST `) && \ :option:`BT_HCI ` && \ :option:`BT ` *(Includes any dependencies from ifs and menus.)* Default ======= - y if \ :option:`BT_CTLR ` && !\ :option:`BT_CTLR_ECDH ` Symbols selected by this symbol =============================== - \ :option:`TINYCRYPT ` - \ :option:`TINYCRYPT_ECC_DH ` Kconfig definition ================== .. highlight:: kconfig At ``subsys/bluetooth/host/Kconfig:626`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:9`` → ``subsys/bluetooth/Kconfig:239`` Menu path: (Top) → Sub Systems and OS Services → Bluetooth → Enable ECDH key generation support .. parsed-literal:: config BT_TINYCRYPT_ECC bool "Emulate ECDH in the Host using TinyCrypt library" default y if \ :option:`BT_CTLR ` && !\ :option:`BT_CTLR_ECDH ` select \ :option:`TINYCRYPT ` select \ :option:`TINYCRYPT_ECC_DH ` depends on \ :option:`BT_ECC ` && (\ :option:`BT_HCI_RAW ` || \ :option:`BT_HCI_HOST `) && \ :option:`BT_HCI ` && \ :option:`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.)*