diff options
Diffstat (limited to 'src/math/order.h')
| -rw-r--r-- | src/math/order.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/math/order.h b/src/math/order.h index 8a56b94..ce3cd0b 100644 --- a/src/math/order.h +++ b/src/math/order.h @@ -11,6 +11,23 @@ #include "types.h" /** + * @brief Factors curve order. + * @param curve + * @param cfg + * @return + */ +GEN order_factors(curve_t *curve, const config_t *cfg); + +/** + * @brief Enumerates all subgroup orders of a curve given prime order factors. + * @param curve + * @param cfg + * @param factors + * @return + */ +GEN order_groups(curve_t *curve, const config_t *cfg, GEN factors); + +/** * GENERATOR(gen_t) * Calculates the curve order, using a general algorithm. * Always succeeds. |
