aboutsummaryrefslogtreecommitdiff
path: root/src/cm/custom.h
blob: da5007a0d8058c031e828619216fc44d83ad63a5 (plain) (blame)
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/config.h"
#include "misc/types.h"

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

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

#endif  // ECGEN_CUSTOM_H