Skip to content

Commit

Permalink
modules: mbedtls: Enable back Mbed TLS PSA Crypto Storage C
Browse files Browse the repository at this point in the history
This partially reverts zephyrproject-rtos@4b47901
to fix Bluetooth mesh tests with bsim.

Fixes zephyrproject-rtos#79533

Signed-off-by: Pavel Vasilyev <[email protected]>
  • Loading branch information
PavelVPV authored and aescolar committed Oct 8, 2024
1 parent 41e4b53 commit 86b6665
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/mbedtls/configs/config-tls-generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 86b6665

Please sign in to comment.