mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-07 06:42:56 +03:00
Remove unnecessary dependencies from psa_crypto_helpers.h
The psa_test_wrappers.h inclusion was breaking the examples in programs/ on functions with poisoning added Signed-off-by: Ryan Everett <ryan.everett@arm.com>
This commit is contained in:
@@ -16,13 +16,6 @@
|
|||||||
#include <psa/crypto.h>
|
#include <psa/crypto.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "test/psa_test_wrappers.h"
|
|
||||||
|
|
||||||
#if defined(MBEDTLS_TEST_HOOKS) && defined(MBEDTLS_PSA_CRYPTO_C) \
|
|
||||||
&& defined(MBEDTLS_PSA_COPY_CALLER_BUFFERS)
|
|
||||||
#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. */
|
||||||
#define PSA_INIT() PSA_ASSERT(psa_crypto_init())
|
#define PSA_INIT() PSA_ASSERT(psa_crypto_init())
|
||||||
|
Reference in New Issue
Block a user