mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-28 23:21:07 +01:00
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:
@@ -21,6 +21,10 @@
|
||||
#include "mbedtls/psa_util.h"
|
||||
#endif
|
||||
|
||||
#if defined(MBEDTLS_TEST_HOOKS)
|
||||
#include "test/psa_memory_poisoning_wrappers.h"
|
||||
#endif
|
||||
|
||||
#if defined(MBEDTLS_PSA_CRYPTO_STORAGE_C)
|
||||
|
||||
/* Internal function for #TEST_USES_KEY_ID. Return 1 on success, 0 on failure. */
|
||||
|
||||
@@ -19,10 +19,6 @@
|
||||
#include "test/psa_crypto_helpers.h"
|
||||
#include "test/psa_exercise_key.h"
|
||||
|
||||
#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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user