aboutsummaryrefslogtreecommitdiff
path: root/src/cm/cm.c
blob: 587f497303badd5bd982939c21bb7da6afee3fda (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 "obj/curve.h"
#include "p1363.h"

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

	curve_t *curve = custom_curve();
	output_o_begin();
	output_o(curve);
	output_o_end();

	curve_free(&curve);

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