diff --git a/library/Makefile b/library/Makefile index 603f5d16ec..6852e95df2 100644 --- a/library/Makefile +++ b/library/Makefile @@ -39,7 +39,8 @@ OBJS= aes.o arc4.o asn1parse.o \ blowfish.o camellia.o \ certs.o cipher.o cipher_wrap.o \ ctr_drbg.o debug.o des.o \ - dhm.o entropy.o entropy_poll.o \ + dhm.o ecp.o \ + entropy.o entropy_poll.o \ error.o gcm.o havege.o \ md.o md_wrap.o md2.o \ md4.o md5.o net.o \ diff --git a/programs/Makefile b/programs/Makefile index 9b0d1f531b..388b029e2b 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -38,6 +38,7 @@ APPS = aes/aescrypt2 aes/crypt_and_hash \ random/gen_random_ctr_drbg \ test/ssl_cert_test test/benchmark \ test/selftest test/ssl_test \ + test/ecp-bench \ util/strerror \ x509/cert_app x509/crl_app \ x509/cert_req @@ -174,6 +175,10 @@ test/benchmark: test/benchmark.c ../library/libpolarssl.a echo " CC test/benchmark.c" $(CC) $(CFLAGS) $(OFLAGS) test/benchmark.c $(LDFLAGS) -o $@ +test/ecp-bench: test/ecp-bench.c ../library/libpolarssl.a + echo " CC test/ecp-bench.c" + $(CC) $(CFLAGS) $(OFLAGS) test/ecp-bench.c $(LDFLAGS) -o $@ + test/selftest: test/selftest.c ../library/libpolarssl.a echo " CC test/selftest.c" $(CC) $(CFLAGS) $(OFLAGS) test/selftest.c $(LDFLAGS) -o $@ diff --git a/tests/Makefile b/tests/Makefile index 4c97aa5d36..be5e09831a 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -30,6 +30,7 @@ APPS = test_suite_aes test_suite_arc4 \ test_suite_cipher.des test_suite_cipher.null \ test_suite_ctr_drbg test_suite_debug \ test_suite_des test_suite_dhm \ + test_suite_ecp \ test_suite_error test_suite_gcm.decrypt \ test_suite_gcm.decrypt test_suite_hmac_shax \ test_suite_md test_suite_mdx \ @@ -127,6 +128,10 @@ test_suite_dhm: test_suite_dhm.c ../library/libpolarssl.a echo " CC $@.c" $(CC) $(CFLAGS) $(OFLAGS) $@.c $(LDFLAGS) -o $@ +test_suite_ecp: test_suite_ecp.c ../library/libpolarssl.a + echo " CC $@.c" + $(CC) $(CFLAGS) $(OFLAGS) $@.c $(LDFLAGS) -o $@ + test_suite_error: test_suite_error.c ../library/libpolarssl.a echo " CC $@.c" $(CC) $(CFLAGS) $(OFLAGS) $@.c $(LDFLAGS) -o $@