aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca/codegen/curve.h
diff options
context:
space:
mode:
Diffstat (limited to 'pyecsca/codegen/curve.h')
-rw-r--r--pyecsca/codegen/curve.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/pyecsca/codegen/curve.h b/pyecsca/codegen/curve.h
new file mode 100644
index 0000000..5ac7b1a
--- /dev/null
+++ b/pyecsca/codegen/curve.h
@@ -0,0 +1,16 @@
+#ifndef CURVE_H_
+#define CURVE_H_
+
+//curve_t definition is variable
+/*
+typedef struct {
+ bn_t a;
+ bn_t b;
+} curve_t;
+*/
+
+curve_t* curve_new(named_bn_t **params, int num_params);
+
+void curve_free(curve_t *curve);
+
+#endif //CURVE_H_ \ No newline at end of file