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

Private GIT Repository
new
[Cipher_code.git] / OneRoundIoT / openssl / Makefile
index 5a8b6382bb4880004818fc699b124ff9c073c7bd..59643a39b4d88a9f1923a9fed8a4b600a128e7fd 100644 (file)
@@ -4,7 +4,11 @@ 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 
 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
+OBJ6 =    pixmap_io.o openssl_evp_hmac.o
+OBJ7 =    pixmap_io.o openssl_evp_ocb.o
+OBJ8 =    pixmap_io.o openssl_chacha20_poly1305.o
+OBJ9 =    pixmap_io.o openssl_chacha20_poly1305_v2.o
 
 openssl_evp: $(OBJ)
        $(C) -o $@ $^ $(CFLAGS)
 
 openssl_evp: $(OBJ)
        $(C) -o $@ $^ $(CFLAGS)
@@ -18,10 +22,27 @@ openssl_evp_ccm: $(OBJ3)
 aesccm: $(OBJ4)
        $(C) -o $@ $^ $(CFLAGS)
 
 aesccm: $(OBJ4)
        $(C) -o $@ $^ $(CFLAGS)
 
+
+openssl_evp_gcm: $(OBJ5)
+       $(C) -o $@ $^ $(CFLAGS)
+
+openssl_evp_hmac: $(OBJ6)
+       $(C) -o $@ $^ $(CFLAGS)
+
+openssl_evp_ocb: $(OBJ7)
+       $(C) -o $@ $^ $(CFLAGS)
+
+openssl_evp_chacha20_poly1305: $(OBJ7)
+       $(C) -o $@ $^ $(CFLAGS)
+
+openssl_evp_chacha20_poly1305_v2: $(OBJ7)
+       $(C) -o $@ $^ $(CFLAGS)
+
+
 %.o: %.c 
 %.o: %.c 
-       $(C) -c -o $@ $< 
+       $(C) -c -o $@ $<  -O3
 
 
 clean:
 
 
 clean:
-       rm -rf $(OBJ)  openssl_evp openssl_evp_cmac openssl_evp_ccm
+       rm -rf $(OBJ)  openssl_evp openssl_evp_cmac openssl_evp_ccm openssl_evp_ocb  openssl_evp_chacha20_poly1305_v2  openssl_evp_chacha20_poly1305