diff options
Diffstat (limited to 'pyecsca/codegen/templates/formula_scl.c')
| -rw-r--r-- | pyecsca/codegen/templates/formula_scl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pyecsca/codegen/templates/formula_scl.c b/pyecsca/codegen/templates/formula_scl.c index cc46724..32bad57 100644 --- a/pyecsca/codegen/templates/formula_scl.c +++ b/pyecsca/codegen/templates/formula_scl.c @@ -3,7 +3,7 @@ {% import "ops.c" as ops %} {% from "action.c" import start_action, end_action %} -{{ ops.render_static_init(allocations, initializations, formula.shortname) }} +{{ ops.render_static_init(allocations, formula.shortname) }} {{ ops.render_static_clear(frees, formula.shortname) }} @@ -15,6 +15,7 @@ void point_scl(const point_t *one, const curve_t *curve, point_t *out_one) { return; } {%- endif %} + {{ ops.render_initializations(initializations) }} {{ ops.render_ops(operations) }} {{ ops.render_returns(returns) }} {{ end_action("scl") }} |
