mirror of
https://github.com/espressif/mbedtls.git
synced 2025-06-24 17:20:21 +08: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
b489257a0b
commit
7de0928fd1
@ -16,6 +16,9 @@
|
|||||||
#include <psa/crypto.h>
|
#include <psa/crypto.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_TEST_HOOKS)
|
||||||
|
#include "test/psa_memory_poisoning_wrappers.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(MBEDTLS_PSA_CRYPTO_C)
|
#if defined(MBEDTLS_PSA_CRYPTO_C)
|
||||||
/** Initialize the PSA Crypto subsystem. */
|
/** Initialize the PSA Crypto subsystem. */
|
||||||
|
@ -25,10 +25,6 @@
|
|||||||
#define TEST_DRIVER_LOCATION 0x7fffff
|
#define TEST_DRIVER_LOCATION 0x7fffff
|
||||||
#endif
|
#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. */
|
/* If this comes up, it's a bug in the test code or in the test data. */
|
||||||
#define UNUSED 0xdeadbeef
|
#define UNUSED 0xdeadbeef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user