aboutsummaryrefslogtreecommitdiff
path: root/src/math/point.h
diff options
context:
space:
mode:
authorJ08nY2017-04-10 23:47:46 +0200
committerJ08nY2017-04-10 23:56:03 +0200
commit2cf2eec873cb11f2f0767aac41da0f56dbd27cb9 (patch)
tree9b9a52548ccc7c9e54c500e4b587560ce18a017c /src/math/point.h
parentc1de68ff1e47dfbb1b85671e4fadcce1c49c8967 (diff)
downloadecgen-2cf2eec873cb11f2f0767aac41da0f56dbd27cb9.tar.gz
ecgen-2cf2eec873cb11f2f0767aac41da0f56dbd27cb9.tar.zst
ecgen-2cf2eec873cb11f2f0767aac41da0f56dbd27cb9.zip
Added unroll functions, to generalize going back in exhaustive generation
Diffstat (limited to 'src/math/point.h')
-rw-r--r--src/math/point.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/math/point.h b/src/math/point.h
index 9eef8a4..ef6facf 100644
--- a/src/math/point.h
+++ b/src/math/point.h
@@ -159,4 +159,15 @@ int points_trial(curve_t *curve, const config_t *cfg, arg_t *args);
*/
int points_prime(curve_t *curve, const config_t *cfg, arg_t *args);
+/**
+ *
+ * @param curve
+ * @param cfg
+ * @param from
+ * @param to
+ * @return
+ */
+int points_unroll(curve_t *curve, const config_t *cfg, pari_sp from,
+ pari_sp to);
+
#endif // ECGEN_POINT_H