Skip to content

Commit 11a8a39

Browse files
valeriosettikartben
authored andcommitted
Bluetooth: Host: imply MBEDTLS_PSA_P256M_DRIVER_ENABLED rather than select
Allow the user to disable the P256-M driver in case their version of Mbed TLS does not support this driver. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
1 parent 12eee61 commit 11a8a39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/bluetooth/host/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,7 @@ config BT_SEND_ECC_EMULATION
10061006
select PSA_WANT_ALG_ECDH
10071007
select PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
10081008
select PSA_WANT_ECC_SECP_R1_256
1009-
select MBEDTLS_PSA_P256M_DRIVER_ENABLED if MBEDTLS_PSA_CRYPTO_C
1009+
imply MBEDTLS_PSA_P256M_DRIVER_ENABLED if MBEDTLS_PSA_CRYPTO_C
10101010
select BT_LONG_WQ
10111011
depends on BT_ECC && (BT_HCI_RAW || BT_HCI_HOST)
10121012
default y if HAS_BT_CTLR && !BT_CTLR_ECDH

0 commit comments

Comments
 (0)