Bluetooth: Host: Remove prompt from BT_ECC

This option only exposes internal APIs, so there should be no need to allow
applications to set an explicit value. Instead, users of the API should
select it through Kconfig.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
This commit is contained in:
Johan Hedberg 2025-01-21 10:36:20 +02:00 committed by Benjamin Cabé
parent 09e86f3b69
commit d3c8cb4b79

View file

@ -993,7 +993,7 @@ config BT_DF_VS_CONN_IQ_REPORT_16_BITS_IQ_SAMPLES
endif # BT_DF endif # BT_DF
config BT_ECC config BT_ECC
bool "ECDH key generation support" bool
select MBEDTLS if !BUILD_WITH_TFM select MBEDTLS if !BUILD_WITH_TFM
select MBEDTLS_PSA_CRYPTO_C if !BUILD_WITH_TFM select MBEDTLS_PSA_CRYPTO_C if !BUILD_WITH_TFM
select PSA_WANT_ALG_ECDH select PSA_WANT_ALG_ECDH
@ -1002,8 +1002,8 @@ config BT_ECC
imply MBEDTLS_PSA_P256M_DRIVER_ENABLED if MBEDTLS_PSA_CRYPTO_C imply MBEDTLS_PSA_P256M_DRIVER_ENABLED if MBEDTLS_PSA_CRYPTO_C
select BT_LONG_WQ select BT_LONG_WQ
help help
If this option is set PSA Crypto API library is used for performing ECDH If this option is set, internal APIs will be available to perform ECDH operations
operations needed e.g. by LE Secure Connections. through the long work queue. operations needed e.g. by LE Secure Connections.
endif # BT_HCI_HOST endif # BT_HCI_HOST