X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2FMakefile.am;h=bf2122d23568cc24df6d9de3bb4f85ce6138f466;hb=03aafb2c9ea38c9baf9bc0672001ffe38c91c47d;hp=083b2728641049205bee646a06c5159c0eb0e6a1;hpb=f619a7412c1aeebcdeb98cb95244a9eed5d9b537;p=meshlink diff --git a/src/Makefile.am b/src/Makefile.am index 083b2728..bf2122d2 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -23,12 +23,18 @@ ed25519_SOURCES = \ ed25519/sign.c \ ed25519/verify.c +chacha_poly1305_SOURCES = \ + chacha-poly1305/chacha.c chacha-poly1305/chacha.h \ + chacha-poly1305/chacha-poly1305.c chacha-poly1305/chacha-poly1305.h \ + chacha-poly1305/poly1305.c chacha-poly1305/poly1305.h + sptps_test_SOURCES = \ logger.c logger.h \ sptps.c sptps.h \ sptps_test.c \ utils.c utils.h \ - $(ed25519_SOURCES) + $(ed25519_SOURCES) \ + $(chacha_poly1305_SOURCES) sptps_keypair_SOURCES = \ sptps_keypair.c \ @@ -40,7 +46,8 @@ sptps_speed_SOURCES = \ sptps.c sptps.h \ sptps_speed.c \ utils.c utils.h \ - $(ed25519_SOURCES) + $(ed25519_SOURCES) \ + $(chacha_poly1305_SOURCES) lib_LTLIBRARIES = libmeshlink.la @@ -86,14 +93,14 @@ libmeshlink_la_SOURCES = \ tincd.c \ utils.c utils.h \ xalloc.h \ - $(ed25519_SOURCES) + $(ed25519_SOURCES) \ + $(chacha_poly1305_SOURCES) libmeshlink_la_CFLAGS = -fPIC libmeshlink_la_LIBADD = -lpthread libmeshlink_la_SOURCES += \ - openssl/cipher.c \ openssl/crypto.c \ openssl/digest.c openssl/digest.h \ openssl/ecdh.c \ @@ -101,7 +108,6 @@ libmeshlink_la_SOURCES += \ openssl/ecdsagen.c \ openssl/prf.c sptps_test_SOURCES += \ - openssl/cipher.c \ openssl/crypto.c \ openssl/digest.c openssl/digest.h \ ed25519/ecdh.c \ @@ -111,7 +117,6 @@ sptps_keypair_SOURCES += \ openssl/crypto.c \ ed25519/ecdsagen.c sptps_speed_SOURCES += \ - openssl/cipher.c \ openssl/crypto.c \ openssl/digest.c openssl/digest.h \ ed25519/ecdh.c \