]> AND Private Git Repository - Cipher_code.git/blobdiff - OneRoundIoT/openssl/Makefile
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
update of enhance one round with cbc rm
[Cipher_code.git] / OneRoundIoT / openssl / Makefile
index d123b571c80116ba8f519e198e3f7b3469cbaacb..65338fd9b09b7f32e7082d60b4e31ce6cfd58838 100644 (file)
@@ -1,15 +1,31 @@
 C=gcc
 CFLAGS= -I /usr/include/openssl/ -lcrypto -O3 -std=c99
 OBJ =    pixmap_io.o openssl_evp.o
-
+OBJ2 =    pixmap_io.o openssl_evp_cmac.o
+OBJ3 =    pixmap_io.o openssl_evp_ccm.o
+OBJ4 =    pixmap_io.o aesccm.o 
+OBJ5 =    pixmap_io.o openssl_evp_gcm.o
 
 openssl_evp: $(OBJ)
        $(C) -o $@ $^ $(CFLAGS)
 
+openssl_evp_cmac: $(OBJ2)
+       $(C) -o $@ $^ $(CFLAGS)
+
+openssl_evp_ccm: $(OBJ3)
+       $(C) -o $@ $^ $(CFLAGS)
+
+aesccm: $(OBJ4)
+       $(C) -o $@ $^ $(CFLAGS)
+
+
+openssl_evp_gcm: $(OBJ5)
+       $(C) -o $@ $^ $(CFLAGS)
 
 %.o: %.c 
-       $(C) -c -o $@ $< 
+       $(C) -c -o $@ $<  -O3
 
 
 clean:
-       rm -rf $(OBJ)  openssl_evp
+       rm -rf $(OBJ)  openssl_evp openssl_evp_cmac openssl_evp_ccm