[tor-bugs] #19564 [Core Tor/Tor]: SR: use macros to compute our base64 encoded length

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jul 4 14:41:45 UTC 2016


#19564: SR: use macros to compute our base64 encoded length
------------------------------+--------------------------
     Reporter:  dgoulet       |      Owner:
         Type:  enhancement   |     Status:  new
     Priority:  Low           |  Milestone:  Tor: 0.2.???
    Component:  Core Tor/Tor  |    Version:
     Severity:  Minor         |   Keywords:  tor-sr easy
Actual Points:                |  Parent ID:
       Points:  0.1           |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------
 Ticket #19531 once done should be adding some macros to compute the length
 of encoded base64 string.

 Let's use them for these in `shared_random.h`:
 - `SR_COMMIT_BASE64_LEN`
 - `SR_REVEAL_BASE64_LEN`
 - `SR_SRV_VALUE_BASE64_LEN`

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


More information about the tor-bugs mailing list