summaryrefslogtreecommitdiff
path: root/crypto_aead/lilliputaei128v1/ref/Makefile
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2018-11-20 10:02:57 +0100
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2018-11-20 10:02:57 +0100
commitf14a2f281a2da7df2dae192cb38eddc288790c4e (patch)
tree24f3c2919e0e01b1ed6bd9d1cc2ed83e3f19424a /crypto_aead/lilliputaei128v1/ref/Makefile
parentf1ffcea01936c33fd2428e06d07f3755068cda15 (diff)
downloadlilliput-ae-implem-f14a2f281a2da7df2dae192cb38eddc288790c4e.tar.xz
Ajout d'une ébauche de code de référence
Lilliput-AE-Ⅰ-128 d'abord, pour comparer aux vecteurs obtenus par Léo.
Diffstat (limited to 'crypto_aead/lilliputaei128v1/ref/Makefile')
-rw-r--r--crypto_aead/lilliputaei128v1/ref/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/crypto_aead/lilliputaei128v1/ref/Makefile b/crypto_aead/lilliputaei128v1/ref/Makefile
new file mode 100644
index 0000000..891d0e3
--- /dev/null
+++ b/crypto_aead/lilliputaei128v1/ref/Makefile
@@ -0,0 +1,24 @@
+
+.PHONY: clean run-test-tweakey
+
+
+nist_flags = -std=c99 -Wall -Wextra -Wshadow -fsanitize=address,undefined -O2
+
+
+clean:
+ -rm *.o
+ -rm test-tweakey
+ -rm tweakey_*.txt
+
+%.o: %.c
+ gcc -c $< $(nist_flags) -o $@
+
+test-tweakey: test-tweakey.o tweakey.o
+ gcc $^ $(nist_flags) -o $@
+
+run-test-tweakey: test-tweakey
+ ./test-tweakey
+
+
+test-tweakey.o: tweakey.h
+tweakey.o: tweakey.h