summaryrefslogtreecommitdiff
path: root/Makefile
blob: 2b9e4e06a1961c55ea0360b1684dfee58fe946b6 (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)))
test_variants = $(foreach v,$(variants),test/$(v))


.PHONY: all clean nist test $(test_variants) traces

all: test

clean:
	- rm -r results crypto_aead

$(test_variants):
	make -C $@ test

test: $(test_variants)

traces: traces-ae traces-tbc

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

nist:
	./nist/make-package.sh

results:
	mkdir $@