2023-05-11 02:50:27 -04:00
|
|
|
set(srcs "app_main.c")
|
|
|
|
|
|
|
|
if(CONFIG_SOC_MPI_SUPPORTED)
|
|
|
|
list(APPEND srcs "mpi/test_mpi.c")
|
|
|
|
endif()
|
|
|
|
|
2023-05-11 05:58:02 -04:00
|
|
|
if(CONFIG_SOC_ECC_SUPPORTED)
|
|
|
|
list(APPEND srcs "ecc/test_ecc.c")
|
|
|
|
endif()
|
|
|
|
|
2023-05-11 07:01:00 -04:00
|
|
|
if(CONFIG_SOC_HMAC_SUPPORTED)
|
|
|
|
list(APPEND srcs "hmac/test_hmac.c")
|
|
|
|
endif()
|
2023-05-11 02:50:27 -04:00
|
|
|
|
2023-05-11 08:34:48 -04:00
|
|
|
if(CONFIG_SOC_DIG_SIGN_SUPPORTED)
|
|
|
|
list(APPEND srcs "ds/test_ds.c")
|
|
|
|
endif()
|
|
|
|
|
2023-05-15 02:50:03 -04:00
|
|
|
if(CONFIG_SOC_ECDSA_SUPPORTED)
|
|
|
|
list(APPEND srcs "ecdsa/test_ecdsa.c")
|
|
|
|
endif()
|
|
|
|
|
2023-05-11 02:50:27 -04:00
|
|
|
idf_component_register(SRCS ${srcs}
|
|
|
|
REQUIRES test_utils unity
|
|
|
|
WHOLE_ARCHIVE)
|