X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/blobdiff_plain/94e90035b1b2f00c5862a03f69a0b23d9b53df51..fd03c6c18761aedcf1616b4dadc316fbb07ebde3:/OneRoundIoT/openssl/Makefile?ds=sidebyside diff --git a/OneRoundIoT/openssl/Makefile b/OneRoundIoT/openssl/Makefile index b2f769e..59643a3 100644 --- a/OneRoundIoT/openssl/Makefile +++ b/OneRoundIoT/openssl/Makefile @@ -1,8 +1,14 @@ 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 +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) @@ -10,10 +16,33 @@ openssl_evp: $(OBJ) 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) + +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 $@ $< + $(C) -c -o $@ $< -O3 clean: - rm -rf $(OBJ) openssl_evp openssl_evp_cmac + rm -rf $(OBJ) openssl_evp openssl_evp_cmac openssl_evp_ccm openssl_evp_ocb openssl_evp_chacha20_poly1305_v2 openssl_evp_chacha20_poly1305