X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/blobdiff_plain/d463aa6b004f2432356128d77de09592ae822611..3ed2f4b380f0d9f49ff45bf6accf8a55c511a353:/OneRoundIoT/openssl/Makefile?ds=sidebyside diff --git a/OneRoundIoT/openssl/Makefile b/OneRoundIoT/openssl/Makefile index 5a8b638..b88f1c9 100644 --- a/OneRoundIoT/openssl/Makefile +++ b/OneRoundIoT/openssl/Makefile @@ -4,7 +4,9 @@ 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 +OBJ6 = pixmap_io.o openssl_evp_hmac.o +OBJ7 = pixmap_io.o openssl_evp_ocb.o openssl_evp: $(OBJ) $(C) -o $@ $^ $(CFLAGS) @@ -18,10 +20,21 @@ openssl_evp_ccm: $(OBJ3) 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) + + %.o: %.c - $(C) -c -o $@ $< + $(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