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

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jul 5 18:02:51 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 teor):

 `-fsanitize=address` causes clang to run out of registers when compiling
 `ge25519_scalarmult_base_choose_niels` in `src/ext/ed25519/donna/ed25519
 -donna-64bit-x86.h`.

 Adding the function to the sanitizer blacklist resolves this issue, as
 long as people use it.

 I can make a branch for it if you'd like.
 It would add:
 {{{
 # The optimised x86_64 assembly version of
 ge25519_scalarmult_base_choose_niels
 # runs out of registers when compiled with ASan
 fun:ge25519_scalarmult_base_choose_niels
 }}}
 to the end of `contrib/clang/sanitize_blacklist.txt`

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


More information about the tor-bugs mailing list