aboutsummaryrefslogtreecommitdiff
path: root/src/cm/custom.h
blob: ed6f3d3f477cb0f84abcac6871e03d1a40577700 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * ecgen, tool for generating Elliptic curve domain parameters
 * Copyright (C) 2017 J08nY
 */
#ifndef ECGEN_CUSTOM_H
#define ECGEN_CUSTOM_H

#include "misc/types.h"
#include "misc/config.h"

typedef struct {
	GEN p;
	GEN t;
	GEN v;
	GEN D;
} custom_quadr_t;

/**
 * @brief
 * @return
 */
curve_t * custom_curve();

#endif //ECGEN_CUSTOM_H