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

Private GIT Repository
ccm qui bug
[Cipher_code.git] / OneRoundIoT / openssl / Makefile
index b2f769ed2efce8085360d81616e3fedce39ff049..5a8b6382bb4880004818fc699b124ff9c073c7bd 100644 (file)
@@ -1,7 +1,9 @@
 C=gcc
 CFLAGS= -I /usr/include/openssl/ -lcrypto -O3 -std=c99
 OBJ =    pixmap_io.o openssl_evp.o
 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 
+OBJ2 =    pixmap_io.o openssl_evp_cmac.o
+OBJ3 =    pixmap_io.o openssl_evp_ccm.o
+OBJ4 =    pixmap_io.o aesccm.o 
 
 
 openssl_evp: $(OBJ)
 
 
 openssl_evp: $(OBJ)
@@ -10,10 +12,16 @@ openssl_evp: $(OBJ)
 openssl_evp_cmac: $(OBJ2)
        $(C) -o $@ $^ $(CFLAGS)
 
 openssl_evp_cmac: $(OBJ2)
        $(C) -o $@ $^ $(CFLAGS)
 
+openssl_evp_ccm: $(OBJ3)
+       $(C) -o $@ $^ $(CFLAGS)
+
+aesccm: $(OBJ4)
+       $(C) -o $@ $^ $(CFLAGS)
+
 %.o: %.c 
        $(C) -c -o $@ $< 
 
 
 clean:
 %.o: %.c 
        $(C) -c -o $@ $< 
 
 
 clean:
-       rm -rf $(OBJ)  openssl_evp openssl_evp_cmac
+       rm -rf $(OBJ)  openssl_evp openssl_evp_cmac openssl_evp_ccm