Hi Prakash,
It seems that you've disabled MBEDTLS_PSA_ITS_FILE_C but kept
MBEDTLS_PSA_CRYPTO_STORAGE_C. MBEDTLS_PSA_CRYPTO_STORAGE_C is looking
for something that provides the PSA ITS interface, which can either be
built into your platform or provided by MBEDTLS_PSA_ITS_FILE_C. Per your
other thread, you wanted to disable PSA crypto, so just disable
MBEDTLS_PSA_CRYPTO_STORAGE_C.
Best regards,
--
Gilles Peskine
Mbed TLS developer
On 13/03/2024 10:44, Satya Prakash Prasad via mbed-tls wrote:
> Hi,
>
> I am trying to build MbedtLS 3.5.2 and get the below error:
>
> mbedtls/library/psa_crypto_storage.c:23:23: psa/error.h: No such file
> or directory
> mbedtls/library/psa_crypto_storage.c:24:42:
> psa/internal_trusted_storage.h: No such file or directory
>
> I searched all thru the directories and found error.h in mbetls
> directory but could not find internal_trusted_storage.h header file?
>
> #if defined(MBEDTLS_PSA_ITS_FILE_C)
> #include "psa_crypto_its.h"
> #else /* Native ITS implementation */
> #include "psa/error.h"
> #include "psa/internal_trusted_storage.h"
> #endif
>
> Regards,
> Prakash