modules: mbedtls: Enable back Mbed TLS PSA Crypto Storage C

This partially reverts 4b479016a7
to fix Bluetooth mesh tests with bsim.

Fixes #79533

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
This commit is contained in:
Pavel Vasilyev 2024-10-08 11:09:32 +02:00 committed by Alberto Escolar
parent 41e4b5323a
commit 86b666548b
1 changed files with 4 additions and 2 deletions

View File

@ -482,11 +482,13 @@
#define MBEDTLS_PSA_P256M_DRIVER_ENABLED
#endif
#if defined(CONFIG_ARCH_POSIX)
#if defined(CONFIG_ARCH_POSIX) && !defined(CONFIG_PICOLIBC)
#define MBEDTLS_PSA_KEY_SLOT_COUNT 64 /* for BLE Mesh tests */
#define MBEDTLS_PSA_ITS_FILE_C
#define MBEDTLS_FS_IO
#endif
#if defined(CONFIG_SECURE_STORAGE)
#if defined(CONFIG_SECURE_STORAGE) || (defined(CONFIG_ARCH_POSIX) && !defined(CONFIG_PICOLIBC))
#define MBEDTLS_PSA_CRYPTO_STORAGE_C
#endif