From 99e192422d95240adbe806a53caabfa9ddb258c3 Mon Sep 17 00:00:00 2001 From: J08nY Date: Fri, 29 Sep 2017 16:50:13 +0200 Subject: Added custom CM generation skeleton. --- src/cm/custom.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/cm/custom.h (limited to 'src/cm/custom.h') 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 -- cgit v1.2.3-70-g09d2