aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca/codegen/templates/formulas.c
blob: f17ea13316752d90e4293734634541e6b1a0cc81 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "point.h"
#include "formulas.h"


void formulas_init(void) {
	{%- for name in names %}
	point_{{ name }}_init();
	{%- endfor %}
}

void formulas_zero(void) {
    {%- for name in names %}
	point_{{ name }}_zero();
	{%- endfor %}
}

void formulas_clear(void) {
	{%- for name in names %}
	point_{{ name }}_clear();
	{%- endfor %}
}