From fa3663d63364cd6bdcedb19a0a1b2455adc1a0f7 Mon Sep 17 00:00:00 2001 From: Harry Ramsey Date: Tue, 22 Oct 2024 10:33:36 +0100 Subject: [PATCH] Fix include for tf-psa-crypto tests This commit replaces #includes "error.h" with #include "error_common.h" since error.h no longer exists in tf-psa-crypto. Signed-off-by: Harry Ramsey --- tf-psa-crypto/tests/suites/test_suite_dhm.function | 2 +- tf-psa-crypto/tests/suites/test_suite_pkcs5.function | 2 +- tf-psa-crypto/tests/suites/test_suite_pkparse.function | 2 +- .../tests/suites/test_suite_psa_crypto_se_driver_hal.function | 2 +- tf-psa-crypto/tests/suites/test_suite_rsa.function | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tf-psa-crypto/tests/suites/test_suite_dhm.function b/tf-psa-crypto/tests/suites/test_suite_dhm.function index 6c6f15bbf7..d040c81bc4 100644 --- a/tf-psa-crypto/tests/suites/test_suite_dhm.function +++ b/tf-psa-crypto/tests/suites/test_suite_dhm.function @@ -1,6 +1,6 @@ /* BEGIN_HEADER */ #include "mbedtls/dhm.h" -#include "mbedtls/error.h" +#include "mbedtls/error_common.h" static int check_get_value(const mbedtls_dhm_context *ctx, mbedtls_dhm_parameter param, diff --git a/tf-psa-crypto/tests/suites/test_suite_pkcs5.function b/tf-psa-crypto/tests/suites/test_suite_pkcs5.function index f6be142089..56582d4b45 100644 --- a/tf-psa-crypto/tests/suites/test_suite_pkcs5.function +++ b/tf-psa-crypto/tests/suites/test_suite_pkcs5.function @@ -1,5 +1,5 @@ /* BEGIN_HEADER */ -#include "mbedtls/error.h" +#include "mbedtls/error_common.h" #include "mbedtls/pkcs5.h" #include "mbedtls/cipher.h" /* END_HEADER */ diff --git a/tf-psa-crypto/tests/suites/test_suite_pkparse.function b/tf-psa-crypto/tests/suites/test_suite_pkparse.function index 1cd6e2bb98..15c6de039b 100644 --- a/tf-psa-crypto/tests/suites/test_suite_pkparse.function +++ b/tf-psa-crypto/tests/suites/test_suite_pkparse.function @@ -1,5 +1,5 @@ /* BEGIN_HEADER */ -#include "mbedtls/error.h" +#include "mbedtls/error_common.h" #include "mbedtls/pk.h" #include "mbedtls/pem.h" #include "mbedtls/oid.h" diff --git a/tf-psa-crypto/tests/suites/test_suite_psa_crypto_se_driver_hal.function b/tf-psa-crypto/tests/suites/test_suite_psa_crypto_se_driver_hal.function index 66d2a4eb99..400d89dc04 100644 --- a/tf-psa-crypto/tests/suites/test_suite_psa_crypto_se_driver_hal.function +++ b/tf-psa-crypto/tests/suites/test_suite_psa_crypto_se_driver_hal.function @@ -9,7 +9,7 @@ #if defined(MBEDTLS_PSA_ITS_FILE_C) #include "psa_crypto_its.h" #else /* Native ITS implementation */ -#include "psa/error.h" +#include "psa/error_common.h" #include "psa/internal_trusted_storage.h" #endif diff --git a/tf-psa-crypto/tests/suites/test_suite_rsa.function b/tf-psa-crypto/tests/suites/test_suite_rsa.function index b84848b916..0d086a4e7e 100644 --- a/tf-psa-crypto/tests/suites/test_suite_rsa.function +++ b/tf-psa-crypto/tests/suites/test_suite_rsa.function @@ -1,5 +1,5 @@ /* BEGIN_HEADER */ -#include "mbedtls/error.h" +#include "mbedtls/error_common.h" #include "mbedtls/rsa.h" #include "bignum_core.h" #include "rsa_alt_helpers.h"