[tor-bugs] #8897 [Tor]: Faster curve25519 implementation for ntor

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri May 17 17:11:43 UTC 2013


#8897: Faster curve25519 implementation for ntor
----------------------------------------+-----------------------------------
 Reporter:  nickm                       |          Owner:                    
     Type:  enhancement                 |         Status:  new               
 Priority:  normal                      |      Milestone:  Tor: 0.2.5.x-final
Component:  Tor                         |        Version:                    
 Keywords:  tor-relay performance ntor  |         Parent:                    
   Points:                              |   Actualpoints:                    
----------------------------------------+-----------------------------------
 Floodberry's curve25519 implementations at
 https://github.com/floodyberry/curve25519-donna are mostly C, and claim to
 be faster still than the ones we're using now, especially on intel cpus.
 We should evaluate them and consider switching.

 Also, if we find an ed25519 implementation we like and wind up using it,
 we should evaluate using its component pieces to build an optimized
 curve25519 implementation for calculations on the base point as per
 http://www.imperialviolet.org/2013/05/10/fastercurve25519.html ; Adam has
 some example code based on one of the amd64 assembly implementations.

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


More information about the tor-bugs mailing list