aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..c93324b
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+CFLAGS += -Wall -Wextra -ansi
+LDFLAGS += -lnettle
+
+all: aesscan
+
+aesscan: aesscan.o
+
+clean:
+ -rm -f aesscan aesscan.o
+
+# Should show "109992: found key (decrypted data = 4 text, 0 binary)"
+test: aesscan
+ ./aesscan -s test/keyandjunk.bin test/encrypted-txt-with-iv.bin test/encrypted-txt-with-iv-1.bin test/encrypted-txt-with-iv-2.bin test/encrypted-txt-with-iv-3.bin
+
+
+.PHONY: all clean test