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