aboutsummaryrefslogtreecommitdiff
path: root/src/cm/custom.h
diff options
context:
space:
mode:
authorJ08nY2017-09-29 16:50:13 +0200
committerJ08nY2018-04-07 14:38:24 +0200
commit99e192422d95240adbe806a53caabfa9ddb258c3 (patch)
tree0903938e52b62a494b3f00e8d4b04a1d7c761e0c /src/cm/custom.h
parent962e197004b19e0b8e42dc977dc0ec1a85f407c1 (diff)
downloadecgen-99e192422d95240adbe806a53caabfa9ddb258c3.tar.gz
ecgen-99e192422d95240adbe806a53caabfa9ddb258c3.tar.zst
ecgen-99e192422d95240adbe806a53caabfa9ddb258c3.zip
Diffstat (limited to 'src/cm/custom.h')
-rw-r--r--src/cm/custom.h24
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