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/gen | |
| parent | 49bd1736641a101dde23f2bbe994159ed33ef347 (diff) | |
| download | ecgen-27006e09a7fed0718e576a1d1f5e467143c83654.tar.gz ecgen-27006e09a7fed0718e576a1d1f5e467143c83654.tar.zst ecgen-27006e09a7fed0718e576a1d1f5e467143c83654.zip | |
Rename gen_t -> gen_f.
Diffstat (limited to 'src/gen')
| -rw-r--r-- | src/gen/curve.h | 4 | ||||
| -rw-r--r-- | src/gen/equation.h | 24 | ||||
| -rw-r--r-- | src/gen/field.h | 6 | ||||
| -rw-r--r-- | src/gen/gens.h | 4 | ||||
| -rw-r--r-- | src/gen/order.h | 10 | ||||
| -rw-r--r-- | src/gen/point.h | 12 |
6 files changed, 30 insertions, 30 deletions
diff --git a/src/gen/curve.h b/src/gen/curve.h index 1f823df..7694078 100644 --- a/src/gen/curve.h +++ b/src/gen/curve.h @@ -12,7 +12,7 @@ #include "misc/types.h" /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * Creates a curve GEN in curve_t curve from field, a and b. * Always succeeds. * @@ -24,7 +24,7 @@ GENERATOR(curve_gen_any); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * Creates a curve GEN in curve_t curve from field, a and b. * Succeeds if a curve exists(non-zero discriminant). * diff --git a/src/gen/equation.h b/src/gen/equation.h index 665c153..aece5fa 100644 --- a/src/gen/equation.h +++ b/src/gen/equation.h @@ -11,7 +11,7 @@ #include "misc/types.h" /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * Creates a random a parameter by selecting a random field * element from the curve field. * Always succeeds. @@ -24,7 +24,7 @@ GENERATOR(a_gen_random); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * Creates a parameter by reading from input. * * @param curve A curve_t being generated @@ -35,7 +35,7 @@ GENERATOR(a_gen_random); GENERATOR(a_gen_input); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * Creates a parameter by reading once from input. * * @param curve A curve_t being generated @@ -46,7 +46,7 @@ GENERATOR(a_gen_input); GENERATOR(a_gen_once); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * Creates a parameter set to zero. * * @param curve A curve_t being generated @@ -57,7 +57,7 @@ GENERATOR(a_gen_once); GENERATOR(a_gen_zero); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * Creates a parameter set to one. * * @param curve A curve_t being generated @@ -68,7 +68,7 @@ GENERATOR(a_gen_zero); GENERATOR(a_gen_one); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * * @param curve A curve_t being generated * @param cfg An application config @@ -78,7 +78,7 @@ GENERATOR(a_gen_one); GENERATOR(a_gen_seed); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * Creates a random b parameter by selecting a random field * element from the curve field. * @@ -90,7 +90,7 @@ GENERATOR(a_gen_seed); GENERATOR(b_gen_random); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * Creates b parameter by reading from input. * * @param curve A curve_t being generated @@ -101,7 +101,7 @@ GENERATOR(b_gen_random); GENERATOR(b_gen_input); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * Creates b parameter by reading once from input. * * @param curve A curve_t being generated @@ -112,7 +112,7 @@ GENERATOR(b_gen_input); GENERATOR(b_gen_once); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * Creates b parameter set to zero. * * @param curve A curve_t being generated @@ -123,7 +123,7 @@ GENERATOR(b_gen_once); GENERATOR(b_gen_zero); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * Creates b parameter set to one. * * @param curve A curve_t being generated @@ -134,7 +134,7 @@ GENERATOR(b_gen_zero); GENERATOR(b_gen_one); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * * @param curve A curve_t being generated * @param cfg An application config diff --git a/src/gen/field.h b/src/gen/field.h index da31298..e02c0b4 100644 --- a/src/gen/field.h +++ b/src/gen/field.h @@ -11,7 +11,7 @@ #include "misc/types.h" /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * Creates a random field. * Always succeeds. * @@ -23,7 +23,7 @@ GENERATOR(field_gen_random); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * Creates a field by reading: * - a prime number in the prime field case * - three short exponents of the reduction polynomial in the binary case @@ -36,7 +36,7 @@ GENERATOR(field_gen_random); GENERATOR(field_gen_input); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * Creates the field by reading it once. * * @param curve A curve_t being generated diff --git a/src/gen/gens.h b/src/gen/gens.h index c9e8169..29a44e0 100644 --- a/src/gen/gens.h +++ b/src/gen/gens.h @@ -12,7 +12,7 @@ #include "misc/types.h" /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * * @param curve A curve_t being generated * @param cfg An application config @@ -22,7 +22,7 @@ GENERATOR(gens_gen_any); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * * @param curve A curve_t being generated * @param cfg An application config diff --git a/src/gen/order.h b/src/gen/order.h index e798012..14f5a45 100644 --- a/src/gen/order.h +++ b/src/gen/order.h @@ -11,7 +11,7 @@ #include "misc/types.h" /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * Reads the curve order from input, does not verify it. * * @param curve A curve_t being generated @@ -23,7 +23,7 @@ GENERATOR(order_gen_input); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * Calculates the curve order, using a general algorithm. * Always succeeds. * @@ -35,7 +35,7 @@ GENERATOR(order_gen_input); GENERATOR(order_gen_any); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * Calculates the curve order, using the SEA algorithm. * * @param curve A curve_t being generated @@ -46,7 +46,7 @@ GENERATOR(order_gen_any); GENERATOR(order_gen_sea); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * * @param curve A curve_t being generated * @param cfg An application config @@ -56,7 +56,7 @@ GENERATOR(order_gen_sea); GENERATOR(order_gen_smallfact); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * Calculates the curve order, always using the SEA algorithm, * gives up early in case the order is divisible by "something". * Succeeds if the curve has a prime order. diff --git a/src/gen/point.h b/src/gen/point.h index fdca6f7..7daabe4 100644 --- a/src/gen/point.h +++ b/src/gen/point.h @@ -107,7 +107,7 @@ void points_free(point_t ***point); void points_free_deep(point_t ***points, size_t npoints); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * * @param curve A curve_t being generated * @param cfg An application config @@ -117,7 +117,7 @@ void points_free_deep(point_t ***points, size_t npoints); GENERATOR(point_gen_random); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * * @param curve A curve_t being generated * @param cfg An application config @@ -127,7 +127,7 @@ GENERATOR(point_gen_random); GENERATOR(points_gen_random); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * Generates prime order points using trial division. * * Assumes the primes divide curve order, thus that points with all @@ -141,7 +141,7 @@ GENERATOR(points_gen_random); GENERATOR(points_gen_trial); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * * Cauchy: * Let G be a finite group and p be a prime. If p divides the order of G, then @@ -155,7 +155,7 @@ GENERATOR(points_gen_trial); GENERATOR(points_gen_prime); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * * Generates points on all subgroups of the curve. Prime and non-prime order. * @@ -167,7 +167,7 @@ GENERATOR(points_gen_prime); GENERATOR(points_gen_allgroups); /** - * GENERATOR(gen_t) + * GENERATOR(gen_f) * * Generates points on non-prime order of the curve. * |
