diff options
Diffstat (limited to 'src/cm/custom.h')
| -rw-r--r-- | src/cm/custom.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/cm/custom.h b/src/cm/custom.h new file mode 100644 index 0000000..ed6f3d3 --- /dev/null +++ b/src/cm/custom.h @@ -0,0 +1,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 |
