diff --git a/library/ssl_ciphersuites.c b/library/ssl_ciphersuites.c index ebfcb8872..dc5044963 100644 --- a/library/ssl_ciphersuites.c +++ b/library/ssl_ciphersuites.c @@ -33,9 +33,6 @@ #include "mbedtls/ssl.h" #include "ssl_misc.h" -#if defined(MBEDTLS_USE_PSA_CRYPTO) -#include "psa/crypto.h" -#endif #include "legacy_or_psa.h" #include diff --git a/library/ssl_cookie.c b/library/ssl_cookie.c index e00ee4365..8777833b9 100644 --- a/library/ssl_cookie.c +++ b/library/ssl_cookie.c @@ -38,9 +38,6 @@ #include "mbedtls/platform_util.h" #include "mbedtls/constant_time.h" -#if defined(MBEDTLS_USE_PSA_CRYPTO) -#include "psa/crypto.h" -#endif #include "legacy_or_psa.h" #include diff --git a/tests/src/certs.c b/tests/src/certs.c index b501e1fd6..551602626 100644 --- a/tests/src/certs.c +++ b/tests/src/certs.c @@ -23,10 +23,6 @@ #include "mbedtls/build_info.h" -#if defined(MBEDTLS_USE_PSA_CRYPTO) -#include "psa/crypto.h" -#endif - #include "legacy_or_psa.h" /* diff --git a/tests/suites/test_suite_ssl.function b/tests/suites/test_suite_ssl.function index b17dc1e80..459e94bb7 100644 --- a/tests/suites/test_suite_ssl.function +++ b/tests/suites/test_suite_ssl.function @@ -11,9 +11,6 @@ #include "mbedtls/ssl_cache.h" #endif -#if defined(MBEDTLS_USE_PSA_CRYPTO) -#include "psa/crypto.h" -#endif #include #include "hash_info.h"