#include #include extern "C" bool test_single_hash_sha512_01(void); namespace { bool appl_benchmark_main_result_is_ok; } extern "C" void TaskApplBenchmark_Main_Init(void) { appl_benchmark_main_result_is_ok = true; } extern "C" void TaskApplBenchmark_Main_Func(void) { IoHwAb_DebugPortHigh(); const bool result_is_ok = test_single_hash_sha512_01(); IoHwAb_DebugPortLow(); appl_benchmark_main_result_is_ok = (appl_benchmark_main_result_is_ok && result_is_ok); if(!appl_benchmark_main_result_is_ok) { while(true) { HalCpuNop(); } } }