aboutsummaryrefslogtreecommitdiff
path: root/src/cm/cm_any.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cm/cm_any.h')
-rw-r--r--src/cm/cm_any.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cm/cm_any.h b/src/cm/cm_any.h
index 42fc68e..a49fd7f 100644
--- a/src/cm/cm_any.h
+++ b/src/cm/cm_any.h
@@ -24,6 +24,12 @@ typedef struct {
GEN cm_construct_curve(GEN order, GEN d, GEN p, bool ord_prime);
/**
+ * @brief Construct an elliptic curve given a factor of its order, CM
+ * discriminant and field order.
+ */
+GEN cm_construct_curve_subgroup(GEN r, GEN d, GEN p);
+
+/**
* @brief
* @param curve
* @param args