2023-05-11 12:20:27 +05:30
|
|
|
/*
|
|
|
|
|
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: Unlicense OR CC0-1.0
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "unity_fixture.h"
|
|
|
|
|
#include "unity_fixture_extras.h"
|
|
|
|
|
|
|
|
|
|
static void run_all_tests(void)
|
|
|
|
|
{
|
2023-05-11 15:28:02 +05:30
|
|
|
#if CONFIG_SOC_MPI_SUPPORTED
|
2023-05-11 12:20:27 +05:30
|
|
|
RUN_TEST_GROUP(mpi);
|
2023-05-11 15:28:02 +05:30
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if CONFIG_SOC_ECC_SUPPORTED
|
|
|
|
|
RUN_TEST_GROUP(ecc);
|
|
|
|
|
#endif
|
2023-05-11 16:31:00 +05:30
|
|
|
|
|
|
|
|
#if CONFIG_IDF_ENV_FPGA
|
|
|
|
|
|
|
|
|
|
#if CONFIG_SOC_HMAC_SUPPORTED
|
|
|
|
|
RUN_TEST_GROUP(hmac);
|
|
|
|
|
#endif
|
|
|
|
|
|
2023-05-11 18:04:48 +05:30
|
|
|
#if CONFIG_SOC_DIG_SIGN_SUPPORTED
|
|
|
|
|
RUN_TEST_GROUP(ds);
|
2023-05-11 16:31:00 +05:30
|
|
|
#endif
|
2023-05-11 18:04:48 +05:30
|
|
|
|
2023-05-15 12:20:03 +05:30
|
|
|
#if CONFIG_SOC_ECDSA_SUPPORTED
|
|
|
|
|
RUN_TEST_GROUP(ecdsa)
|
|
|
|
|
#endif
|
|
|
|
|
|
2023-05-11 18:04:48 +05:30
|
|
|
#endif /* CONFIG_IDF_ENV_FPGA */
|
2023-05-11 12:20:27 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void app_main(void)
|
|
|
|
|
{
|
|
|
|
|
UNITY_MAIN_FUNC(run_all_tests);
|
|
|
|
|
}
|