From 2b36f5f5ab29efb1dbef164602fbf8a664c067a9 Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Mon, 14 Oct 2024 10:27:02 +0200 Subject: [PATCH] config_adjust_test_accelerators.h: Do not error if PSA_CRYPTO_CONFIG is ON That's the purpose of the changes, to have PSA_CRYPTO_CONFIG enabled. Signed-off-by: Ronald Cron --- .../include/mbedtls/config_adjust_test_accelerators.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tf-psa-crypto/drivers/builtin/include/mbedtls/config_adjust_test_accelerators.h b/tf-psa-crypto/drivers/builtin/include/mbedtls/config_adjust_test_accelerators.h index 3aa278ebac..32aa015242 100644 --- a/tf-psa-crypto/drivers/builtin/include/mbedtls/config_adjust_test_accelerators.h +++ b/tf-psa-crypto/drivers/builtin/include/mbedtls/config_adjust_test_accelerators.h @@ -57,13 +57,6 @@ * part of the test driver. */ #define PSA_CRYPTO_DRIVER_TEST -/* With MBEDTLS_PSA_CRYPTO_CONFIG, if we set up the acceleration, the - * built-in implementations won't be enabled. */ -#if defined(MBEDTLS_PSA_CRYPTO_CONFIG) -#error \ - "PSA_CRYPTO_DRIVER_TEST_ALL sets up a nonstandard configuration that is incompatible with MBEDTLS_PSA_CRYPTO_CONFIG" -#endif - /* Use the accelerator driver for all cryptographic mechanisms for which * the test driver is implemented. This is copied from psa/crypto_config.h * with the parts not implemented by the test driver commented out. */