mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-07 14:15:58 -04: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:
parent
f3c57149d1
commit
9c97fda0ab
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user