[tor-bugs] #8897 [Tor]: Faster curve25519 implementation for ntor
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Aug 20 15:21:11 UTC 2014
#8897: Faster curve25519 implementation for ntor
-------------------------+-------------------------------------------------
Reporter: nickm | Owner: nickm
Type: | Status: needs_revision
enhancement | Milestone: Tor: 0.2.6.x-final
Priority: major | Version:
Component: Tor | Keywords: tor-relay, performance, ntor,
Resolution: | 026-triaged-0
Actual Points: | Parent ID: #9662
Points: |
-------------------------+-------------------------------------------------
Comment (by nickm):
Based on profile information from #11332, maybe we should let this take a
back-seat for a while.
Having a look at Andrea's results in "tor-
58f4200789d0cc47ebd88f3091207cf4dd493573-profile-run.gprof.txt", I see
7956 calls to onion_skin_ntor_server_handshake vs 78824 to
onion_skin_TAP_server_handshake(). But curve25519_donna accounts for less
than .01% of total runtime. If we imagine that we replaced all of the TAP
handhakes with ntor handshakes, that would still be only about 0.07% of
runtime.
Possibly it's just not worth our time to optimize this stuff right now.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8897#comment:15>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list