From fdd2bbaf35270c5ab63bf3c601ab199f2092ab2c Mon Sep 17 00:00:00 2001 From: J08nY Date: Wed, 1 Mar 2017 11:33:16 +0100 Subject: Added requested points type option + count option --- src/invalid/invalid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/invalid') diff --git a/src/invalid/invalid.c b/src/invalid/invalid.c index 469b20c..f8ec9a2 100644 --- a/src/invalid/invalid.c +++ b/src/invalid/invalid.c @@ -82,7 +82,7 @@ size_t invalid_curves(curve_t *curve, config_t *cfg, pari_ulong *primes, } else { invalid_gen[OFFSET_GENERATORS] = &gens_any; } - invalid_gen[OFFSET_POINTS] = &points_primet; + invalid_gen[OFFSET_POINTS] = &points_trial; arg_t *invalid_argss[OFFSET_END]; @@ -126,7 +126,7 @@ size_t invalid_curves(curve_t *curve, config_t *cfg, pari_ulong *primes, if (total > 0) { // only pass small primes that divide the curve order and those // where we dont have a curve yet. - // this is passed to points_primet which uses trial division to find + // this is passed to points_trial which uses trial division to find // a point with given prime order. size_t j = 0; pari_ulong dprimes[total]; -- cgit v1.2.3-70-g09d2