crypto_hash.c \
crypto_hkdf.c \
crypto_kdf.c \
+ crypto_mpi.c \
+ crypto_paillier.c \
crypto_random.c \
disk.c \
disk.h \
signal.c \
strings.c \
time.c \
- speedup.c
+ speedup.c speedup.h
libgnunetutil_la_LIBADD = \
$(GCLIBADD) $(WINLIB) \
test_crypto_ecdhe \
test_crypto_hash \
test_crypto_hkdf \
+ test_crypto_paillier \
test_crypto_random \
test_disk \
test_getopt \
test_common_logging_runtime_loglevels
if ENABLE_TEST_RUN
+AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
TESTS = $(check_PROGRAMS)
endif
test_crypto_hkdf_LDADD = \
$(top_builddir)/src/util/libgnunetutil.la
+test_crypto_paillier_SOURCES = \
+ test_crypto_paillier.c
+test_crypto_paillier_LDADD = \
+ -lgcrypt \
+ $(top_builddir)/src/util/libgnunetutil.la
+
test_crypto_random_SOURCES = \
test_crypto_random.c
test_crypto_random_LDADD = \