liboqs/tests/Makefile.am
Christian Paquin dc9617f81f Refactored sig api following nist-branch (issue380) (#391)
* Fixed a typo in a comment

* Refactored sig API following nist-branch (also fixes issue 380)

* Fixed Windows compilation error in sig.c.

* Added Picnic to Windows' config, and changed defaul alg to Picnic (since qTesla is not yet supported on Windows)

* Moved sig_picnic and sig_qtesla under sig directory, to harmonize with kem api

* Use different default sig alg on Windows to fix Travis back-compat tests and platform gap.

* Further changes required for OQS to be properly used by applications

* Compare OQS functions's return values to OQS error codes in sig.c.

* Fixed typos in comments.

* Replaced minimal_oqs_sig with example_sig.

* Ensure travis tests fail on error

* Add try-catch block in all-tests.sh

* Ignore example_sig

* Point global-namespace-check to .libs/liboqs.a

* More precise error handling in global-namespace-check

* Warning colours in travis tests and error handling in free-check

* Error handling in style-check

* Clean up style-check

* Removed leftover minimal_sig_oqs ref and VS projects.

* Prettyprint

* Revert clang-format version check

* Re-revert clang-format style check

* Prettyprint

* Added speed_sig to master.

* Removed superfluous extern from sig schemes .h
2018-09-26 10:01:53 -04:00

46 lines
1.9 KiB
Makefile

AUTOMAKE_OPTIONS = foreign
check_PROGRAMS = example_kem speed_kem test_kem \
minimal_kex_oqs test_kex \
example_sig speed_sig test_sig \
test_aes test_rand test_sha3 kat_kem
example_kem_SOURCES = example_kem.c
example_sig_SOURCES = example_sig.c
speed_kem_SOURCES = speed_kem.c
speed_sig_SOURCES = speed_sig.c
minimal_kex_oqs_SOURCES = minimal_kex_oqs.c
test_aes_SOURCES = test_aes.c
test_kem_SOURCES = test_kem.c
test_kex_SOURCES = test_kex.c
test_rand_SOURCES = test_rand.c
test_sha3_SOURCES = test_sha3.c
test_sig_SOURCES = test_sig.c
kat_kem_SOURCES = kat_kem.c
example_kem_LDADD = -L.. -loqs -lm -lcrypto
example_sig_LDADD = -L.. -loqs -lm -lcrypto
minimal_kex_oqs_LDADD = -L.. -loqs -lm -lcrypto
speed_kem_LDADD = -L.. -loqs -lm -lcrypto
speed_sig_LDADD = -L.. -loqs -lm -lcrypto
test_aes_LDADD = -L.. -loqs -lm -lcrypto
test_kem_LDADD = -L.. -loqs -lm -lcrypto
test_kex_LDADD = -L.. -loqs -lm -lcrypto
test_rand_LDADD = -L.. -loqs -lm -lcrypto
test_sha3_LDADD = -L.. -loqs -lm -lcrypto
test_sig_LDADD = -L.. -loqs -lm -lcrypto
kat_kem_LDADD = ../liboqs.la -lm -lcrypto
if USE_OPENSSL
example_kem_LDADD += -L$(OPENSSL_DIR)/lib -lcrypto
example_sig_LDADD += -L$(OPENSSL_DIR)/lib -lcrypto
minimal_kex_oqs_LDADD += -L$(OPENSSL_DIR)/lib -lcrypto
speed_kem_LDADD += -L$(OPENSSL_DIR)/lib -lcrypto
speed_sig_LDADD += -L$(OPENSSL_DIR)/lib -lcrypto
test_aes_LDADD += -L$(OPENSSL_DIR)/lib -lcrypto
test_kem_LDADD += -L$(OPENSSL_DIR)/lib -lcrypto
test_kex_LDADD += -L$(OPENSSL_DIR)/lib -lcrypto
test_rand_LDADD += -L$(OPENSSL_DIR)/lib -lcrypto
test_sha3_LDADD += -L$(OPENSSL_DIR)/lib -lcrypto
test_sig_LDADD += -L$(OPENSSL_DIR)/lib -lcrypto
endif