aboutsummaryrefslogtreecommitdiff
path: root/src/cm/cm.c
blob: 28815d7aad7a879681da7850994dafce88889a05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * ecgen, tool for generating Elliptic curve domain parameters
 * Copyright (C) 2017-2018 J08nY
 */
#include "cm.h"
#include "custom.h"
#include "io/output.h"
#include "p1363.h"

int cm_do() {
	debug_log_start("Starting Complex Multiplication method");

	fprintf(err, "This is *NOT IMPLEMENTED* currently.\n");

	GEN D = stoi(71);
	p1363_form_t **forms;
	size_t nforms = p1363_forms(D, &forms);
	p1363_poly(D, forms, nforms);
	p1363_free(&forms, nforms);

	debug_log_start("Finished Complex Multiplication method");
	return 0;
}