[tor-bugs] #24613 [Core Tor/Tor]: Avoid monotime_coarse_absolute_msec in channelpadding code

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Dec 13 14:45:37 UTC 2017


#24613: Avoid monotime_coarse_absolute_msec in channelpadding code
------------------------------+--------------------------------
     Reporter:  nickm         |      Owner:  nickm
         Type:  enhancement   |     Status:  assigned
     Priority:  Medium        |  Milestone:  Tor: 0.3.3.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:  Sponsor8-can  |
------------------------------+--------------------------------
 As noted on #24374, `monotime_coarse_absolute_msec()` can be expensive on
 32-bit systems since it has to do a 64-bit division to compute msec.  We
 fixed the use of `monotime_coarse_absolute_msec` in `buf_t` and
 `packed_cell_t`, but we still have it in the channelpadding system.

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


More information about the tor-bugs mailing list