diff --git a/test/x25519.c b/test/x25519.c index 7f6f70f16c..07faafaae2 100644 --- a/test/x25519.c +++ b/test/x25519.c @@ -153,15 +153,16 @@ static void test_x25519_speed(void) void run_test(void) { + watchdog_reload(); + /* do not check speed, just as a benchmark */ + test_x25519_speed(); + watchdog_reload(); if (!test_x25519() || !test_x25519_iterated() || !test_x25519_small_order()) { test_fail(); return; } - watchdog_reload(); - /* do not check speed, just as a benchmark */ - test_x25519_speed(); test_pass(); }