diff --git a/wolfcrypt/benchmark/benchmark.c b/wolfcrypt/benchmark/benchmark.c index 86a2179e4..1077220bb 100644 --- a/wolfcrypt/benchmark/benchmark.c +++ b/wolfcrypt/benchmark/benchmark.c @@ -1721,10 +1721,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;