summaryrefslogtreecommitdiff
path: root/Makefile
blob: 8ee2ef6954da341a6d98b2306a0a87226fffaa86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
modes = i ii
keylengths = 128 192 256

tests = $(foreach m,$(modes),$(foreach l,$(keylengths),test/$(m)-$(l)))


.PHONY: clean nist test traces

results:
	mkdir $@

clean::
	- rm -r results

test:
	status=0;                               \
	for i in $(tests);                      \
	do                                      \
	    make -C $$i $@ || status=1;         \
	done;                                   \
	exit $$status


traces: traces-ae traces-tbc

traces-%: | results
	@ echo "Collecting traces"
	@ ./traces/collect-traces.sh $@

nist: | results
	./nist/make-package.sh