Skip to content

Commit 679e354

Browse files
committed
modules: mbedtls: split Mbed TLS and TF-PSA-Crypto configuration files
TF-PSA-Crypto now requires a different configuration header file compared to Mbed TLS. This commit adds 2 files: - Kconfig.tf-psa-crypto - config-tf-psa-crypto.h which behave exactly the same as for their Mbed TLS counterparts, but for TF-PSA-Crypto. Kconfigs and #defines were migrated from Mbed TLS to TF-PSA-Crypto. This commit didn't implement any re-organization/cleanup/change, but it's just moving lines between files. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
1 parent 33887d7 commit 679e354

File tree

5 files changed

+866
-852
lines changed

5 files changed

+866
-852
lines changed

‎modules/mbedtls/Kconfig‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,17 @@ config MBEDTLS_CFG_FILE
6161
special TLS usage, use available Kconfig options, or select an
6262
alternative config.
6363

64+
config TF_PSA_CRYPTO_CFG_FILE
65+
string "TF-PSA-Crypto configuration file"
66+
depends on MBEDTLS_BUILTIN
67+
default "config-tf-psa-crypto.h"
68+
help
69+
Use the default TF-PSA-Crypto configuration header file provided by
70+
Zephyr. In this header file all the features are selected by means
71+
of Kconfigs.
72+
6473
rsource "Kconfig.mbedtls"
74+
rsource "Kconfig.tf-psa-crypto"
6575
rsource "Kconfig.ciphersuites"
6676
rsource "Kconfig.deprecated"
6777

0 commit comments

Comments
 (0)