mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-09-13 13:49:54 +00:00
Disable poisoning with PSA_CRYPTO_DRIVER_TEST
This option causes nested calls to PSA functions, so is not compatible with memory poisoning as it currently stands. Signed-off-by: David Horstmann <[email protected]>
This commit is contained in:
@@ -27,7 +27,8 @@
|
|||||||
* Currently, only Asan (Address Sanitizer) is supported.
|
* Currently, only Asan (Address Sanitizer) is supported.
|
||||||
*/
|
*/
|
||||||
#if defined(MBEDTLS_TEST_HAVE_ASAN) && \
|
#if defined(MBEDTLS_TEST_HAVE_ASAN) && \
|
||||||
(__STDC_VERSION__ >= 201112L)
|
(__STDC_VERSION__ >= 201112L) && \
|
||||||
|
!defined(PSA_CRYPTO_DRIVER_TEST)
|
||||||
# define MBEDTLS_TEST_MEMORY_CAN_POISON
|
# define MBEDTLS_TEST_MEMORY_CAN_POISON
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user