aboutsummaryrefslogtreecommitdiff
path: root/src/math/curve.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/curve.h')
-rw-r--r--src/math/curve.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/math/curve.h b/src/math/curve.h
index 65dc4b7..d1aaf27 100644
--- a/src/math/curve.h
+++ b/src/math/curve.h
@@ -50,6 +50,16 @@ int curve_nonzero(curve_t *curve, const config_t *cfg, arg_t *args);
int curve_seed(curve_t *curve, const config_t *cfg, arg_t *args);
/**
+ *
+ * @param curve
+ * @param cfg
+ * @param from
+ * @param to
+ * @return
+ */
+int curve_unroll(curve_t *curve, const config_t *cfg, pari_sp from, pari_sp to);
+
+/**
* Serializes curve parameters into a t_VEC:
* - prime field:
* p,a,b,order,(point.x, point.y, point.order)*