mirror of https://github.com/ARMmbed/mbed-os.git
Disable crypto_init tests when Mbed Crypto is OFF
parent
6e862cf112
commit
abf1ccc722
|
@ -16,6 +16,10 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if ((!defined(TARGET_PSA)) || (!defined(MBEDTLS_PSA_CRYPTO_C)))
|
||||||
|
#error [NOT_SUPPORTED] Mbed Crypto is OFF - skipping.
|
||||||
|
#endif // TARGET_PSA
|
||||||
|
|
||||||
#include "greentea-client/test_env.h"
|
#include "greentea-client/test_env.h"
|
||||||
#include "unity/unity.h"
|
#include "unity/unity.h"
|
||||||
#include "utest/utest.h"
|
#include "utest/utest.h"
|
||||||
|
@ -23,10 +27,6 @@
|
||||||
#include "entropy.h"
|
#include "entropy.h"
|
||||||
#include "entropy_poll.h"
|
#include "entropy_poll.h"
|
||||||
|
|
||||||
#if (!defined(TARGET_PSA))
|
|
||||||
#error [NOT_SUPPORTED] PSA entropy injection tests can run only on PSA-enabled targets.
|
|
||||||
#endif // TARGET_PSA
|
|
||||||
|
|
||||||
#define TEST_RANDOM_SIZE 64
|
#define TEST_RANDOM_SIZE 64
|
||||||
|
|
||||||
#if !defined(MAX)
|
#if !defined(MAX)
|
||||||
|
|
Loading…
Reference in New Issue