#include #include #include extern "C" bool test_single_dig_sig_xmss_sha2_10_256_msg_abc_verify_only(void); namespace { bool appl_benchmark_main_result_is_ok; } extern "C" void TaskApplBenchmark_Main_Init(void) { // initialize the result appl_benchmark_main_result_is_ok = true; } extern "C" void TaskApplBenchmark_Main_Func(void) { IoHwAb_DebugPortHigh(); const bool result_is_ok = test_single_dig_sig_xmss_sha2_10_256_msg_abc_verify_only(); IoHwAb_DebugPortLow(); appl_benchmark_main_result_is_ok &= result_is_ok; if(appl_benchmark_main_result_is_ok == false) { for(;;) { HalCpuNop(); } } }