diff options
| author | J08nY | 2019-11-25 21:25:29 +0100 |
|---|---|---|
| committer | J08nY | 2019-11-25 21:25:29 +0100 |
| commit | de491a6191b465edb7bd9a01a5177ac9bf836747 (patch) | |
| tree | 18459bc2cb101782e2157b0e9313d288d1b6a43b /pyecsca/codegen/mult/mult.h | |
| parent | 8a56c7a95e662862cfe78b834ccb091e95d5372f (diff) | |
| download | pyecsca-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.h | 5 |
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); |
