X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/blobdiff_plain/137f8adedb33df733dd981cb3d4b68bc6d1c9b33..313d1f1c82163b5b9f6c3919b6d319964ec06f5e:/OneRoundIoT/openssl/Makefile diff --git a/OneRoundIoT/openssl/Makefile b/OneRoundIoT/openssl/Makefile index c3cf5b7..34b74d2 100644 --- a/OneRoundIoT/openssl/Makefile +++ b/OneRoundIoT/openssl/Makefile @@ -1,14 +1,36 @@ 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 +OBJ6 = pixmap_io.o openssl_evp_hmac.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) + +openssl_evp_hmac: $(OBJ6) + $(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 +