modules: mbedtls: Add Kconfig entry for PSA API
Add Kconfig option to enable PSA API in mbed TLS. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This commit is contained in:
parent
d288e24c6c
commit
fc81f67e9a
2 changed files with 9 additions and 0 deletions
|
@ -430,4 +430,9 @@ config MBEDTLS_SSL_EXTENDED_MASTER_SECRET
|
|||
which ensures that master secrets are different for every
|
||||
connection and every session.
|
||||
|
||||
config MBEDTLS_PSA_CRYPTO_C
|
||||
bool "Platform Security Architecture cryptography API"
|
||||
depends on MBEDTLS_ENTROPY_ENABLED
|
||||
depends on MBEDTLS_CTR_DRBG_ENABLED || MBEDTLS_HMAC_DRBG_ENABLED
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -449,6 +449,10 @@
|
|||
#define MBEDTLS_SSL_EXTENDED_MASTER_SECRET
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_MBEDTLS_PSA_CRYPTO_C)
|
||||
#define MBEDTLS_PSA_CRYPTO_C
|
||||
#endif
|
||||
|
||||
/* User config file */
|
||||
|
||||
#if defined(CONFIG_MBEDTLS_USER_CONFIG_FILE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue