aboutsummaryrefslogtreecommitdiff
path: root/src/or/include.am
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-12-03 21:24:21 -0500
committerNick Mathewson <nickm@torproject.org>2013-01-02 14:10:49 -0500
commitcf4dd5fbcb15fbaef47156c8602ee75877333ebd (patch)
tree2966ed4baf764d958b36fbafb8ba0d04b25310a0 /src/or/include.am
parent89ec584805bfba76609a1191eb6789fc0e24bdae (diff)
downloadtor-cf4dd5fbcb15fbaef47156c8602ee75877333ebd.tar.gz
tor-cf4dd5fbcb15fbaef47156c8602ee75877333ebd.zip
Implementat the ntor handshake
The ntor handshake--described in proposal 216 and in a paper by Goldberg, Stebila, and Ustaoglu--gets us much better performance than our current approach.
Diffstat (limited to 'src/or/include.am')
-rw-r--r--src/or/include.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/or/include.am b/src/or/include.am
index 405cbd071f..18088493e3 100644
--- a/src/or/include.am
+++ b/src/or/include.am
@@ -15,6 +15,12 @@ else
evdns_source=src/ext/eventdns.c
endif
+if CURVE25519_ENABLED
+onion_ntor_source=src/or/onion_ntor.c
+else
+onion_ntor_source=
+endif
+
src_or_libtor_a_SOURCES = \
src/or/addressmap.c \
src/or/buffers.c \
@@ -65,6 +71,7 @@ src_or_libtor_a_SOURCES = \
src/or/status.c \
$(evdns_source) \
$(tor_platform_source) \
+ $(onion_ntor_source) \
src/or/config_codedigest.c
#libtor_a_LIBADD = ../common/libor.a ../common/libor-crypto.a \
@@ -125,6 +132,7 @@ ORHEADERS = \
src/or/nodelist.h \
src/or/ntmain.h \
src/or/onion.h \
+ src/or/onion_ntor.h \
src/or/or.h \
src/or/transports.h \
src/or/policies.h \