diff --git a/wolfcrypt/benchmark/benchmark.c b/wolfcrypt/benchmark/benchmark.c index 8a3deabda..3a0898b38 100644 --- a/wolfcrypt/benchmark/benchmark.c +++ b/wolfcrypt/benchmark/benchmark.c @@ -1760,10 +1760,10 @@ void bench_ecc25519KeyAgree(void) double current_time(int reset) { - (void) reset; - portTickType tickCount; + (void) reset; + /* tick count == ms, if configTICK_RATE_HZ is set to 1000 */ tickCount = xTaskGetTickCount(); return (double)tickCount / 1000;