From f14a2f281a2da7df2dae192cb38eddc288790c4e Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Tue, 20 Nov 2018 10:02:57 +0100 Subject: Ajout d'une ébauche de code de référence MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Lilliput-AE-Ⅰ-128 d'abord, pour comparer aux vecteurs obtenus par Léo. --- crypto_aead/lilliputaei128v1/ref/Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 crypto_aead/lilliputaei128v1/ref/Makefile (limited to 'crypto_aead/lilliputaei128v1/ref/Makefile') 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 -- cgit v1.2.3