aboutsummaryrefslogtreecommitdiff
path: root/src/math/equation.h
diff options
context:
space:
mode:
authorJ08nY2017-02-28 17:00:39 +0100
committerJ08nY2017-02-28 17:00:39 +0100
commit2cbd1a82a756f15cfb987713bce6ac02dad64623 (patch)
tree01dac90a9f27645ccdb1d1d42c6facfb257915c0 /src/math/equation.h
parent55fd80d2563f461e96dfd680730a2bc416ca5f98 (diff)
downloadecgen-2cbd1a82a756f15cfb987713bce6ac02dad64623.tar.gz
ecgen-2cbd1a82a756f15cfb987713bce6ac02dad64623.tar.zst
ecgen-2cbd1a82a756f15cfb987713bce6ac02dad64623.zip
Added irreducibility check, equation_quit, gens_one
- irreducibility check in field_input for f2m - equation_quit frees stuff possibly allocated by a_once and b_once - gens_one requests the curve to have only one generator - renamed some base generators to _any from _init, as they dont really init anythong, just do no checks
Diffstat (limited to 'src/math/equation.h')
-rw-r--r--src/math/equation.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/math/equation.h b/src/math/equation.h
index 4e0202e..28ded06 100644
--- a/src/math/equation.h
+++ b/src/math/equation.h
@@ -68,6 +68,13 @@ int a_zero(curve_t *curve, config_t *config, arg_t *args);
*/
int a_one(curve_t *curve, config_t *config, arg_t *args);
+/**
+ * @brief
+ * @param curve
+ * @param config
+ * @param args
+ * @return
+ */
int a_seed(curve_t *curve, config_t *config, arg_t *args);
/**
@@ -126,6 +133,18 @@ int b_zero(curve_t *curve, config_t *config, arg_t *args);
*/
int b_one(curve_t *curve, config_t *config, arg_t *args);
+/**
+ * @brief
+ * @param curve
+ * @param config
+ * @param args
+ * @return
+ */
int b_seed(curve_t *curve, config_t *config, arg_t *args);
+/**
+ *
+ */
+void equation_quit(void);
+
#endif // ECGEN_EQUATION_H