From a2ba1bc18c7916b644bc9c4c1379de7f926563ca Mon Sep 17 00:00:00 2001 From: Ashish Sharma Date: Thu, 7 May 2026 15:34:02 +0800 Subject: [PATCH] fix(mbedtls): keep psa crypto storage enabled with ITS backend Closes https://github.com/espressif/esp-idf/issues/18555 --- components/mbedtls/port/include/mbedtls/esp_config.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/mbedtls/port/include/mbedtls/esp_config.h b/components/mbedtls/port/include/mbedtls/esp_config.h index fe0b0f344b6..c927d27a778 100644 --- a/components/mbedtls/port/include/mbedtls/esp_config.h +++ b/components/mbedtls/port/include/mbedtls/esp_config.h @@ -810,8 +810,10 @@ #else #undef MBEDTLS_FS_IO #undef MBEDTLS_PSA_ITS_FILE_C +#if !defined(ESP_PSA_ITS_AVAILABLE) #undef MBEDTLS_PSA_CRYPTO_STORAGE_C #endif +#endif #ifndef CONFIG_IDF_TARGET_LINUX