summaryrefslogtreecommitdiff
path: root/Makefile
blob: 0c37c1b7df6ad13c4d485e3b43ee193ef10c2f19 (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

variants = $(foreach m,$(modes),$(foreach l,$(keylengths),$(m)-$(l)))


.PHONY: all clean nist test traces

all: test

clean:
	- rm -r results crypto_aead

test:
	for i in $(variants);                   \
	do                                      \
	    make -C test/$$i test || exit 1;    \
	done

traces: traces-ae traces-tbc

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

nist:
	./nist/make-package.sh

results:
	mkdir $@