aboutsummaryrefslogtreecommitdiff
path: root/src/math/equation.h
diff options
context:
space:
mode:
authorJ08nY2017-02-09 04:07:37 +0100
committerJ08nY2017-02-09 04:07:37 +0100
commit79b29481b1c4d13063dd8b6ee6a1d0d70a54faab (patch)
tree007da84bc4133c656f2f66df541f74c6b55bfb11 /src/math/equation.h
parent0b5d1cca9c78869c6cffa2932297c1d70ba142e2 (diff)
downloadecgen-79b29481b1c4d13063dd8b6ee6a1d0d70a54faab.tar.gz
ecgen-79b29481b1c4d13063dd8b6ee6a1d0d70a54faab.tar.zst
ecgen-79b29481b1c4d13063dd8b6ee6a1d0d70a54faab.zip
Seperated different generation methods into modules.
- Added Koblitz curve generation.
Diffstat (limited to 'src/math/equation.h')
-rw-r--r--src/math/equation.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/math/equation.h b/src/math/equation.h
new file mode 100644
index 0000000..72f0634
--- /dev/null
+++ b/src/math/equation.h
@@ -0,0 +1,31 @@
+/*
+ * ecgen, tool for generating Elliptic curve domain parameters
+ * Copyright (C) 2017 J08nY
+ */
+#ifndef ECGEN_EQUATION_H
+#define ECGEN_EQUATION_H
+
+#include "io/cli.h"
+#include "types.h"
+
+int a_random(curve_t *curve, config_t *config, ...);
+
+int a_input(curve_t *curve, config_t *config, ...);
+
+int a_zero(curve_t *curve, config_t *config, ...);
+
+int a_one(curve_t *curve, config_t *config, ...);
+
+int a_seed(curve_t *curve, config_t *config, ...);
+
+int b_random(curve_t *curve, config_t *config, ...);
+
+int b_input(curve_t *curve, config_t *config, ...);
+
+int b_zero(curve_t *curve, config_t *config, ...);
+
+int b_one(curve_t *curve, config_t *config, ...);
+
+int b_seed(curve_t *curve, config_t *config, ...);
+
+#endif // ECGEN_EQUATION_H