aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@kodafritt.se>2014-12-09 18:14:52 +0100
committerSamuel Lidén Borell <samuel@kodafritt.se>2014-12-09 20:56:46 +0100
commit6fc06175a146a93d3a2715e6782d4e26ab90a60f (patch)
treec7bb5b7e6090833f42ce920cd7ca65cc04e4ae1c /Makefile
downloadaesscan-main.tar.gz
aesscan-main.tar.bz2
aesscan-main.zip
Initial version with CBC and PKCS#7 supportHEADmain
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