X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/blobdiff_plain/a199186032cc0c9f92cf713e6a31275e4aa19141..e8291c5548e7edd0beb647e84f4a4585f32b5265:/OneRoundIoT/openssl/Makefile diff --git a/OneRoundIoT/openssl/Makefile b/OneRoundIoT/openssl/Makefile index 4cef035..59643a3 100644 --- a/OneRoundIoT/openssl/Makefile +++ b/OneRoundIoT/openssl/Makefile @@ -5,6 +5,10 @@ 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) @@ -22,10 +26,23 @@ aesccm: $(OBJ4) 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 - $(C) -c -o $@ $< -03 + $(C) -c -o $@ $< -O3 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