diff options
| author | J08nY | 2017-09-29 17:52:01 +0200 |
|---|---|---|
| committer | J08nY | 2017-09-29 17:52:01 +0200 |
| commit | 27006e09a7fed0718e576a1d1f5e467143c83654 (patch) | |
| tree | a9e64a26345ca321f7e2b8082fd6868e10be78db /src/exhaustive | |
| parent | 49bd1736641a101dde23f2bbe994159ed33ef347 (diff) | |
| download | ecgen-27006e09a7fed0718e576a1d1f5e467143c83654.tar.gz ecgen-27006e09a7fed0718e576a1d1f5e467143c83654.tar.zst ecgen-27006e09a7fed0718e576a1d1f5e467143c83654.zip | |
Rename gen_t -> gen_f.
Diffstat (limited to 'src/exhaustive')
| -rw-r--r-- | src/exhaustive/anomalous.h | 6 | ||||
| -rw-r--r-- | src/exhaustive/exhaustive.c | 6 | ||||
| -rw-r--r-- | src/exhaustive/exhaustive.h | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/exhaustive/anomalous.h b/src/exhaustive/anomalous.h index 1750f4b..c23490f 100644 --- a/src/exhaustive/anomalous.h +++ b/src/exhaustive/anomalous.h @@ -20,7 +20,7 @@ typedef struct disc_t { } disc_t; /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * * @param curve A curve_t being generated * @param cfg An application config @@ -30,7 +30,7 @@ typedef struct disc_t { GENERATOR(anomalous_gen_field); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * * @param curve A curve_t being generated * @param cfg An application config @@ -40,7 +40,7 @@ GENERATOR(anomalous_gen_field); GENERATOR(anomalous_gen_equation); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * * @param curve A curve_t being generated * @param cfg An application config diff --git a/src/exhaustive/exhaustive.c b/src/exhaustive/exhaustive.c index afbacff..b32daa3 100644 --- a/src/exhaustive/exhaustive.c +++ b/src/exhaustive/exhaustive.c @@ -15,7 +15,7 @@ #include "io/output.h" #include "util/memory.h" -static void exhaustive_ginit(gen_t *generators, const config_t *cfg) { +static void exhaustive_ginit(gen_f *generators, const config_t *cfg) { if (cfg->seed_algo) { switch (cfg->seed_algo) { case SEED_ANSI: { @@ -181,7 +181,7 @@ int exhaustive_gen_retry(curve_t *curve, const config_t *cfg, if (start_offset > end_offset) { return 0; } - gen_t *generators = setup->generators; + gen_f *generators = setup->generators; check_t *validators = setup->validators; arg_t **argss = setup->argss; unroll_t *unrolls = setup->unrolls; @@ -271,7 +271,7 @@ static void exhaustive_quit(arg_t *argss[]) { int exhaustive_do(config_t *cfg) { debug_log_start("Starting Exhaustive method"); - gen_t generators[OFFSET_END] = {NULL}; + gen_f generators[OFFSET_END] = {NULL}; check_t validators[OFFSET_END] = {NULL}; arg_t *argss[OFFSET_END] = {NULL}; unroll_t unrolls[OFFSET_END] = {NULL}; diff --git a/src/exhaustive/exhaustive.h b/src/exhaustive/exhaustive.h index 9419ff4..5343af0 100644 --- a/src/exhaustive/exhaustive.h +++ b/src/exhaustive/exhaustive.h @@ -11,7 +11,7 @@ #include "misc/types.h" typedef struct { - gen_t *generators; + gen_f *generators; check_t *validators; arg_t **argss; unroll_t *unrolls; |
