From 66c950c020f3dd585f13c24476f369443957880f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 27 Jan 2021 10:02:00 +0100 Subject: clean up code --- src/util/test_helper_eddsa.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/util/test_helper_eddsa.c b/src/util/test_helper_eddsa.c index d20f2d837..5ac10a986 100644 --- a/src/util/test_helper_eddsa.c +++ b/src/util/test_helper_eddsa.c @@ -35,9 +35,16 @@ #define NUM_REVOKES 3 /** - * How many iterations of the successful signing test should we run? + * How many iterations of the successful signing test should we run + * during the benchmark phase? */ -#define NUM_SIGN_TESTS 100 +#define NUM_SIGN_TESTS 3 + +/** + * How many iterations of the successful signing test should we run + * during the benchmark phase? + */ +#define NUM_SIGN_PERFS 100 /** @@ -218,7 +225,7 @@ test_signing (struct TALER_CRYPTO_ExchangeSignHelper *esh) .size = htonl (sizeof (purpose)), }; - for (unsigned int i = 0; i<2; i++) + for (unsigned int i = 0; i