diff options
| author | J08nY | 2018-04-09 18:33:15 +0200 |
|---|---|---|
| committer | J08nY | 2018-04-09 18:33:15 +0200 |
| commit | 65ec6b9789294a5bf8319b5eb14d2cb65b1b8fe8 (patch) | |
| tree | 274b2a9215900ae5c9118ea90ec7f5fdb6c1bc45 /src/cm/cm.c | |
| parent | 13ad6fdecf1067a72c5dd7ae995d890792fda31d (diff) | |
| download | ecgen-65ec6b9789294a5bf8319b5eb14d2cb65b1b8fe8.tar.gz ecgen-65ec6b9789294a5bf8319b5eb14d2cb65b1b8fe8.tar.zst ecgen-65ec6b9789294a5bf8319b5eb14d2cb65b1b8fe8.zip | |
Add the custom CM method, finally working.
Diffstat (limited to 'src/cm/cm.c')
| -rw-r--r-- | src/cm/cm.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/cm/cm.c b/src/cm/cm.c index 28815d7..587f497 100644 --- a/src/cm/cm.c +++ b/src/cm/cm.c @@ -5,18 +5,18 @@ #include "cm.h" #include "custom.h" #include "io/output.h" +#include "obj/curve.h" #include "p1363.h" int cm_do() { debug_log_start("Starting Complex Multiplication method"); - fprintf(err, "This is *NOT IMPLEMENTED* currently.\n"); + curve_t *curve = custom_curve(); + output_o_begin(); + output_o(curve); + output_o_end(); - GEN D = stoi(71); - p1363_form_t **forms; - size_t nforms = p1363_forms(D, &forms); - p1363_poly(D, forms, nforms); - p1363_free(&forms, nforms); + curve_free(&curve); debug_log_start("Finished Complex Multiplication method"); return 0; |
