Move wrapper include to psa_crypto_helpers.h

This makes memory poisoning wrappers available to (almost) all tests.

Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
David Horstmann 2023-12-14 14:27:50 +00:00
parent b489257a0b
commit 7de0928fd1
2 changed files with 3 additions and 4 deletions

View File

@ -16,6 +16,9 @@
#include <psa/crypto.h>
#endif
#if defined(MBEDTLS_TEST_HOOKS)
#include "test/psa_memory_poisoning_wrappers.h"
#endif
#if defined(MBEDTLS_PSA_CRYPTO_C)
/** Initialize the PSA Crypto subsystem. */

View File

@ -25,10 +25,6 @@
#define TEST_DRIVER_LOCATION 0x7fffff
#endif
#if defined(MBEDTLS_TEST_HOOKS)
#include "test/psa_memory_poisoning_wrappers.h"
#endif
/* If this comes up, it's a bug in the test code or in the test data. */
#define UNUSED 0xdeadbeef