diff options
| author | J08nY | 2017-03-01 11:33:16 +0100 |
|---|---|---|
| committer | J08nY | 2017-03-01 11:33:16 +0100 |
| commit | fdd2bbaf35270c5ab63bf3c601ab199f2092ab2c (patch) | |
| tree | 6bb9eec9d4608545ec6bc61056061f7e92d7c409 /src/invalid | |
| parent | 8c230aa00002b57d47160756a183d65fb895a7b4 (diff) | |
| download | ecgen-fdd2bbaf35270c5ab63bf3c601ab199f2092ab2c.tar.gz ecgen-fdd2bbaf35270c5ab63bf3c601ab199f2092ab2c.tar.zst ecgen-fdd2bbaf35270c5ab63bf3c601ab199f2092ab2c.zip | |
Added requested points type option + count option
Diffstat (limited to 'src/invalid')
| -rw-r--r-- | src/invalid/invalid.c | 4 |
1 files changed, 2 insertions, 2 deletions
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]; |
