Remove compilation option MBEDTLS_PSA_HAS_ITS_IO
MBEDTLS_PSA_HAS_ITS_IO is not really useful since it doesn't actually
enable anything except the entropy seed file support, which only
requires the ITS interface and not a native implemetation. Remove it.
diff --git a/library/psa_crypto.c b/library/psa_crypto.c
index cd1499a..1b554b5 100644
--- a/library/psa_crypto.c
+++ b/library/psa_crypto.c
@@ -78,10 +78,6 @@
#include "mbedtls/sha512.h"
#include "mbedtls/xtea.h"
-#if ( defined(MBEDTLS_ENTROPY_NV_SEED) && defined(MBEDTLS_PSA_HAS_ITS_IO) )
-#include "psa/internal_trusted_storage.h"
-#endif
-
#define ARRAY_LENGTH( array ) ( sizeof( array ) / sizeof( *( array ) ) )
/* constant-time buffer comparison */
@@ -4423,8 +4419,8 @@
return( mbedtls_to_psa_error( ret ) );
}
-#if ( defined(MBEDTLS_ENTROPY_NV_SEED) && defined(MBEDTLS_PSA_HAS_ITS_IO) )
-
+#if defined(MBEDTLS_ENTROPY_NV_SEED) && \
+ defined(MBEDTLS_PSA_CRYPTO_STORAGE_C)
psa_status_t mbedtls_psa_inject_entropy( const unsigned char *seed,
size_t seed_size )
{