aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca/codegen/mult/mult.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/mult/mult.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/mult/mult.h')
-rw-r--r--pyecsca/codegen/mult/mult.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/pyecsca/codegen/mult/mult.h b/pyecsca/codegen/mult/mult.h
index dcf6767..d2817b7 100644
--- a/pyecsca/codegen/mult/mult.h
+++ b/pyecsca/codegen/mult/mult.h
@@ -1,7 +1,10 @@
#ifndef MULT_H_
#define MULT_H_
-#include "formulas.h"
+#include "defs.h"
+
+#define MULT_NONE 0
+#define MULT_DOUBLE_AND_ADD 1
void scalar_mult(bn_t *scalar, point_t *point, curve_t *curve, point_t *out);