aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca/codegen/curve.h
diff options
context:
space:
mode:
authorJ08nY2019-11-25 21:25:29 +0100
committerJ08nY2019-11-25 21:25:29 +0100
commitde491a6191b465edb7bd9a01a5177ac9bf836747 (patch)
tree18459bc2cb101782e2157b0e9313d288d1b6a43b /pyecsca/codegen/curve.h
parent8a56c7a95e662862cfe78b834ccb091e95d5372f (diff)
downloadpyecsca-codegen-de491a6191b465edb7bd9a01a5177ac9bf836747.tar.gz
pyecsca-codegen-de491a6191b465edb7bd9a01a5177ac9bf836747.tar.zst
pyecsca-codegen-de491a6191b465edb7bd9a01a5177ac9bf836747.zip
Start Python codegen impl.
Diffstat (limited to 'pyecsca/codegen/curve.h')
-rw-r--r--pyecsca/codegen/curve.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/pyecsca/codegen/curve.h b/pyecsca/codegen/curve.h
index 81eb526..ab962e7 100644
--- a/pyecsca/codegen/curve.h
+++ b/pyecsca/codegen/curve.h
@@ -1,15 +1,9 @@
#ifndef CURVE_H_
#define CURVE_H_
-//curve_t definition is variable
-/*
-typedef struct {
- bn_t n;
- point_t *neutral;
-} curve_t;
-*/
+#include "defs.h"
-curve_t* curve_new(named_bn_t **params, int num_params);
+curve_t* curve_new(const named_bn_t **params, int num_params);
void curve_free(curve_t *curve);