diff options
| author | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2018-12-17 15:26:12 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2018-12-17 15:51:39 +0100 |
| commit | 4dcf6e9afb6e30a94f1f88102975627cf7edbc84 (patch) | |
| tree | d1c83c2df181a7ce03d1ea003169a4e4674ac1df /test/common.mk | |
| parent | 265340a0542c1f9d46621258989a8c18249a028f (diff) | |
| download | lilliput-ae-implem-4dcf6e9afb6e30a94f1f88102975627cf7edbc84.tar.xz | |
Organisation des différentes implémentations
Au passage, officialisation de la version "i applications successives
de M pour calculer Mⁱ" du key schedule.
Diffstat (limited to 'test/common.mk')
| -rw-r--r-- | test/common.mk | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/test/common.mk b/test/common.mk index 4d182d2..e018a9d 100644 --- a/test/common.mk +++ b/test/common.mk @@ -1,4 +1,4 @@ -# use "make VERBOSE=1" to have full commands printed out. +# Use "make VERBOSE=1" to have full commands printed out. VERBOSE = 0 ifeq ($(VERBOSE),1) Q = @@ -7,6 +7,10 @@ Q = @ endif +# Use "make IMPLEMENTATION=..." to compile against other versions. +IMPLEMENTATION = ref + + tests = $(basename $(wildcard test-*.c)) traces = $(basename $(wildcard traces-*.c)) @@ -14,8 +18,8 @@ traces = $(basename $(wildcard traces-*.c)) test_dir = $(dir $(lastword $(MAKEFILE_LIST))) root_dir = $(test_dir).. results_dir = $(root_dir)/results/$(mode)-$(keylen) -src_dir = $(root_dir)/src -variant_dir = $(src_dir)/$(mode)-$(keylen) +src_dir = $(root_dir)/src/$(IMPLEMENTATION) +variant_dir = $(root_dir)/src/$(mode)-$(keylen) nist_flags = -std=c99 -Wall -Wextra -Wshadow -fsanitize=address,undefined -O2 |
