1 src_lib_libcurve25519_donna_a_CFLAGS=$(TOR_CFLAGS_CRYPTO)
3 if BUILD_CURVE25519_DONNA
4 src_lib_libcurve25519_donna_a_SOURCES=\
5 src/ext/curve25519_donna/curve25519-donna.c
6 # See bug 13538 -- this code is known to have signed overflow issues.
7 src_lib_libcurve25519_donna_a_CFLAGS+=\
8 @F_OMIT_FRAME_POINTER@ @CFLAGS_CONSTTIME@
9 noinst_LIBRARIES+=src/lib/libcurve25519_donna.a
10 LIBDONNA=src/lib/libcurve25519_donna.a
12 if BUILD_CURVE25519_DONNA_C64
13 src_lib_libcurve25519_donna_a_CFLAGS+=@CFLAGS_CONSTTIME@
14 src_lib_libcurve25519_donna_a_SOURCES=\
15 src/ext/curve25519_donna/curve25519-donna-c64.c
16 noinst_LIBRARIES+=src/lib/libcurve25519_donna.a
17 LIBDONNA=src/lib/libcurve25519_donna.a
23 LIBDONNA += $(LIBED25519_REF10)
24 LIBDONNA += $(LIBED25519_DONNA)