mirror of https://github.com/ARMmbed/mbed-os.git
Add ifdef TARGET_PSA and MBEDTLS_PSA_CRYPTO_C to test file
if not supported return errorpull/9668/head
parent
2720b5a73d
commit
e12f5eeaa7
|
@ -26,6 +26,11 @@
|
|||
|
||||
#include "entropy.h"
|
||||
#include "entropy_poll.h"
|
||||
|
||||
#if ((!defined(TARGET_PSA)) || (!defined(MBEDTLS_PSA_CRYPTO_C)))
|
||||
#error [NOT_SUPPORTED] Mbed Crypto is OFF - skipping.
|
||||
#endif // TARGET_PSA
|
||||
|
||||
/* MAX value support macro */
|
||||
#if !defined(MAX)
|
||||
#define MAX(a,b) (((a)>(b))?(a):(b))
|
||||
|
|
Loading…
Reference in New Issue