From 551ca1d657651fffd624539e7a1d039a7d2180db Mon Sep 17 00:00:00 2001 From: Markus Teich Date: Wed, 13 Jul 2016 14:20:14 +0200 Subject: [PATCH] faster tests --- test_crypto.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test_crypto.c b/test_crypto.c index b039011..fedcce9 100644 --- a/test_crypto.c +++ b/test_crypto.c @@ -181,7 +181,7 @@ test_smc_zkp_0og () } -int +static int test_setup_auction_data () { uint16_t i; @@ -289,7 +289,7 @@ test_round2 () } -int +static int test_round3 () { uint16_t i, s; @@ -319,7 +319,7 @@ test_round3 () } -int +static int test_outcome () { int32_t ret = -1; @@ -338,7 +338,7 @@ test_outcome () } -void +static void cleanup_auction_data () { for (uint16_t i = 0; i < bidders; i++) @@ -370,7 +370,7 @@ main (int argc, char *argv[]) bidders = 2; prizes = 2 * bidders; - edc = GNUNET_CRYPTO_ecc_dlog_prepare (1024 * 1024, 1024); + edc = GNUNET_CRYPTO_ecc_dlog_prepare (1024, 16); BRANDT_init (edc); /* tests that need to run only once */