[tor-bugs] #16467 [Tor]: Faster Ed25519 implementation.

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jul 6 10:20:43 UTC 2015


#16467: Faster Ed25519 implementation.
-----------------------------+------------------------------------
     Reporter:  yawning      |      Owner:
         Type:  enhancement  |     Status:  needs_review
     Priority:  normal       |  Milestone:  Tor: 0.2.7.x-final
    Component:  Tor          |    Version:  Tor: 0.2.7
   Resolution:               |   Keywords:  performance, tor-relay
Actual Points:               |  Parent ID:  #9663
       Points:               |
-----------------------------+------------------------------------

Comment (by yawning):

 Take 2: https://github.com/Yawning/tor/compare/feature16467_9663

 Major changes are, that I squash/rebased things, and restructured how to
 handle the tor specific code in donna slightly (`ed25591_donna_tor.h`,
 `ed25519_tor.c` instead of chainsawing up the latter).

 This should have all the fixes for the issues found by teor except for the
 clang static analysis garbage value thing which I assume is a false
 positive.  I opted to solve the asan issue by disabling inline assembly
 entirely in donna for asan enabled builds.  Performance is going to be
 horrific anyway, so might as well sanitize something.

 I'll wait for nickm to get back from vacation at this point, unless the
 various random people find more issues (unlikely?).  I'm inclined to say
 "use my branch or something that approximates it for the entirely of
 0.2.7's lifespan, then yank ref10 in the 0.2.8-alpha timeframe", but that
 would be more of a nickm call than anything else.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16467#comment:15>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list