[tor-bugs] #13280 [Tor]: Stop signed left shift overflows in ed25519

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Sep 29 00:57:50 UTC 2014


#13280: Stop signed left shift overflows in ed25519
------------------------+--------------------------------
     Reporter:  teor    |      Owner:
         Type:  defect  |     Status:  needs_review
     Priority:  major   |  Milestone:  Tor: 0.2.6.x-final
    Component:  Tor     |    Version:  Tor: unspecified
   Resolution:          |   Keywords:  tor-router ed25519
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------------

Comment (by teor):

 Yes, I missed the carry shifts in fe_frombytes.c (why send a person to do
 a machine's job?)

 Looks great - we have the single manual change in ge_scalarmult_base.c,
 and the rest are automatic. I'd only expect to see changes in the assembly
 under -ftrapv.

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


More information about the tor-bugs mailing list