Bluetooth: Host: add PSA_WANT_xxx_IMPORT/EXPORT to BT_ECC
The BT Host module also uses import/export PSA functions alongside the generate one, so these PSA_WANT should be added as well. Previously it happened to work only because Mbed TLS is enabling IMPORT/EXPORT internally whenever GENERATE/DERIVE is set. However the same might not be true for all PSA Crypto providers. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
This commit is contained in:
parent
6932885996
commit
222f8d87b5
1 changed files with 2 additions and 0 deletions
|
@ -998,6 +998,8 @@ config BT_ECC
|
|||
select MBEDTLS_PSA_CRYPTO_C if !BUILD_WITH_TFM
|
||||
select PSA_WANT_ALG_ECDH
|
||||
select PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||
select PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT
|
||||
select PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT
|
||||
select PSA_WANT_ECC_SECP_R1_256
|
||||
imply MBEDTLS_PSA_P256M_DRIVER_ENABLED if MBEDTLS_PSA_CRYPTO_C
|
||||
select BT_LONG_WQ
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue